Exception prediction before an actual exception during debugging
AssigneeInternational Business Machines Corporation
InventorsVikas Chandra, Sarika Sinha
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsVikas Chandra, Sarika Sinha
Estimating the term…
An approach is provided for predicting an exception during debugging of software code before the debugging encounters the exception. A number of lines X is received. A line number L of the code is debugged. In a new thread, upcoming lines consisting of line numbers L+1 through L+X are executed. Based on the execution of the upcoming lines, a prediction is determined that the exception will be encountered at line number M, which is within a range of line numbers L+1 and L+X. Based on the prediction and the line number being within the range, a warning is displayed that the exception is likely to be encountered at line number M. Responsive to the displayed warning, an indication that a corrective action was taken to avoid the exception is received.
A method of predicting an exception during a debugging of software code before the debugging encounters the exception, the method implemented by computer-readable program code deployed in a computer and being executed by a processor of the computer, and the method comprising the steps of:
A computer program product, comprising:
A computer system comprising:
Dependencies are inferred from the claim text.