System and method for bi-directional debugging of computer
Abstract
The present invention relates to debugging of computer programs, and in particular to bi-directional debugging. A method of returning to a state in the history of execution of a computer program, said state comprising a set of values of one or more of registers of a processor on which the program is running, working memory space to which the program has access and operating system resources allocated to the program, the method comprising: identifying in machine code representing said program, instances of machine code instructions associated with substantially non-deterministic events; modifying said program machine code to execute a program instrumentation set of machine code instructions to handle said substantially non-deterministic events; executing said modified program machine code, storing a time series of said states during said executing; restoring a said stored state; and executing said modified program machine code forward in time starting at said restored state to return to said state in said program history of execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer readable medium having computer executable instructions for implementing a backwards debugger configured to implement a method of returning to a state in the history of execution of a computer program, said state comprising a set of values of one or more of registers of a processor on which the program is running, working memory space to which the program has access and operating system resources allocated to the program, the method comprising: identifying in machine code representing said program, instances of machine code instructions associated thread switch events
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 18 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Cornelis: "A Taxonomy of Execution Replay Systems"' International Conference on Advances in Infrastructure for Electronic Business, Education, Science, Medicine, and Mobile Technologies on the Internet, 2003, page CDROM Paper 59, XP002435057 (entire document).
- Georges A et al: "Jarec: A Portable Record/Replay Environment for Multi-Threaded Java Applications"; Software Practice & Experience, Wiley & Sons, Bognor Regis, GB, vol. 34, No. 6, May 2004, pp. 523-547, XP001192644, ISSN: 0038-0644 (entire document).
- International Search Report for corresponding PCT/GB2006/050324; completed Jun. 1, 2007 by Yaniv Sabbah (attached).
- Lewis, Bill, "Debugging Backwards in Time", Oct. 9, 2003, Fifth Int. Workshop on Automated and Algorithmic Debugging.
- Pan D Z et al: "Supporting Reverse Execution of Parallel Programs"; Sigplan Notices USA, vol. 24, No. 1, Jan. 1989, pp. 124-129, XP002435056 ISSN: 0362-1340 (entire document).