Method for software debugging via simulated re-execution of a computer program
Abstract
An invention is provided for debugging a computer program. Program information is recorded in a trace buffer. The program information generally includes write accesses from the computer program and the execution path of the computer program. In addition, a memory image snapshot of at least a portion of memory being utilized by the computer program is captured. Simulated re-execution of the computer program then occurs by adjusting the state of the memory image snapshot based on the program information. Further, debugging logic can be inserted into a simulated re-execution at particular points in the computer program. In particular, the debugging logic does not change the trace buffer or the memory image snapshot, and as such, do not alter the captured sequence events being debugged.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 112.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for debugging a computer program, comprising the operations of: recording program information in a trace buffer, the program information including write accesses from the computer program and branches in an execution path of the computer program; capturing a memory image of at least a portion of memory utilized by the computer program; simulating execution of the computer program by changing a state of the memory image based on the program information and a current state of the memory image; and inserting debugging logic at a particular point in the computer program, wherein the debug
- Claim 2Depends on #1
A method as recited in claim 1 , further comprising the operation of haltin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 112 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (4)
- Cooper et al. The ParaScope Parallel Programming Environement. IEEE. 1993.
- Emrath et al. Detecting Nondeterminancy in Parallel Programs. IEEE.*
- Vraken et al. Debug Facilities in the TriMedia CPU64 Architecture. IEEE. 1999.*
- Wagenen et al. Achieving Reliability in Simulation Software. IEEE. 1994.*