Exception prediction before an actual exception during debugging
US9870306B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jan 26, 2016 |
| Grant date | Jan 16, 2018 |
| Priority date | — |
| Expiry date | Jul 15, 2036 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3452
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.