Exception prediction before an actual exception during debugging
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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: the computer receiving a number (X) of lines of the software code, wherein X is an integer greater than one; the computer debugging a current line number L of the software code, wherein L is an integer greater than zero; the computer executing upcoming lines of the software code consisting of at least line nu
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Gao, Kehan et al., "Improving Software Quality Estimation by Combining Boosting and Feature Selection," 2013, pp. 27-33.
- Hall, Tracy et al., "A Systematic Literature Review on Fault Prediction Performance in Software Engineering," 2012, pp. 1276-1304.
- Lewis, Chris et al.; Bug Prediction at Google; URL: http://google-engtools.blogspot.in/2011/12/bug-prediction-at-goodle.html; Retrieved from the Internet Apr. 23, 2015; 4 pages.
- Marlow, Simon, "An Extensible Dynamically-Typed Hierarchy of Exceptions," 2006, pp. 96-106.
- Sawadpong, Puntitra, "Toward a Defect Prediction Model of Exception Handling Method Call Structures," 2014, pp. 1-4.