System and method for debugging of computer programs
Abstract
We describe techniques which relate to bi-directional, in particular backwards, debugging of computer programs. Thus we describe identifying processes with shared memory access, such as threads or multicore processes, by arranging process (thread) memory ownership to deliberate provoke memory page faults to identify and handle concurrent memory access by multiple threads in such a manner as to enable deterministic replay, and hence backwards debugging.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer readable medium having computer executable instructions for implementing a method of deterministic replay of a computer program, the method comprising: periodically taking a snapshot of the computer program; returning to a state in the history of execution of the program, the state comprising a set of values 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; identifying in machine code representing the program, instances of machine code instructions
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- "Bergheaud et al";"Fault Tolerance in Multiprocessor Systems Via Application Cloning";"2007";"10 pages".
- "Gautam et al";"ODR: Output-Deterministic Replay for Multicore Debugging";"Oct. 2009";"14 pages".
- "Ronsse et al";"Debugging shared memory parallel programs using record/replay";"2003";"9 pages".
- "Satish et al";"BugNet: Continuously Recording Program Execution for Deterministic Replay Debugging Satish";"Jun. 2005";"12 Pages".
- "Yang et al" ;"Runtime Model Checking of Multithreaded C/C++ Programs";"Mar. 20, 2007";"11pages".