Debugging method and computer program product
Abstract
A method for debugging a computer program is proposed. The method includes a step of running at least part of the computer program on a computer, thereby prompting the computer to execute a sequence of instructions and to generate a trace corresponding to the executed sequence of instructions. When the program has generated an exception, selecting a set of one or more exception strings on the basis of the trace, so that each of the exception strings is a unique substring of the trace. The exception strings are indicated to a user or to a debugging tool. The set of exception strings may notably include the ultimate shortest unique substring of the trace. A computer program product is also described.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for debugging a computer program, comprising: running at least part of said computer program on a computer, thereby prompting said computer to execute a sequence of instructions and to generate a trace corresponding to said executed sequence of instructions; and, when said program has generated an exception, selecting by said computer a set of one or more exception strings among one or more candidate strings wherein each candidate string is a substring of said trace by successively determining whether each of the candidate strings is unique in an order so that any first candidate stri
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Christopher Larosa et al: "Frequent Pattern Mining for Kernel Trace Data", SAC'08, Mar. 16-20, 2008, Fortaleza, Ceara, Brazil, pp. 1-6.
- Guo, L. et al., "Accurately Choosing Execution Runs for Software Fault Localization", http://link.springer.com/chapter/10.1007%2F11688839-7, 15th International Conference on Compiler Construction, Lecture Notes in Computer Science, vol. 3923, Mar. 30, 2006, Vienna, Austria, pp. 80-95.
- International Search Report and Written Opinion correlating to PCT/IB2012/050948 dated Nov. 29, 2012.
- Rui Abreu: "Spectrum-based Fault Localization in Embedded Software", Electrical Engineering, Mathematics and Computer Science, Nov. 4, 2009, ISBN 9789079982042, pp. 1-200.
- Sudheendra Hangal et al: "Tracking Down Software Bugs Using Automatic Anomaly Detection", 1CSE'02, May 19-25, 2002, Orlando, Florida, USA, pp. 291-301.