The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Jan. 16, 2018
Filed:
Jan. 26, 2016
International Business Machines Corporation, Armonk, NY (US);
Vikas Chandra, Bangalore, IN;
Sarika Sinha, Bangalore, IN;
International Business Machines Corporation, Armonk, NY (US);
Abstract
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.