Execution control with cross-level trace mapping
Abstract
Described technologies aid execution control during replays of traced program behavior. Cross-level mapping correlates source code, an intermediate representation, and native instructions in a trace. The trace includes a record of native code instructions which were executed by a runtime-managed program. The trace does not include any executing instance of the runtime. Breakpoints are set to align trace locations with source code expressions or statements, and to skip over garbage collection and other code unlikely to interest a developer. A live debugging environment is adapted to support trace-based reverse execution. An execution controller in a debugger or other tool may utilize breakpoint ranges, cross-level mappings, backward step-out support, and other items to control a replay execution of the trace. Aspects of familiar compilers or familiar runtimes may be re-purposed for innovative execution control which replays previously generated native code, as opposed to their established purpose of generating native code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 43 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A trace replay execution control system, comprising: a processor; a memory in operable communication with the processor; a trace recorded during an execution of a program in conjunction with calls into a runtime of the program and a kernel, wherein the trace includes trace entries which include a record of activities of native code instructions which executed in at least one thread of the program, wherein the activities of the native code instructions are traced as the program is executed, and wherein the trace does not include any executing instance of the runtime of the program; a source cod
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (43)
Non-Patent Literature (5)
- "Data access layer", retrieved from <<https://en.wikipedia.org/wiki/Data_access_layer>>, Aug. 21, 2017, 2 pages.
- "Elm Debugger", retrieved from <<http://debug.elm-lang.org/>>, copyright 2014, 4 pages.
- "How does reverse debugging work?", retrieved from <<https://stackoverflow.com/questions/1470434/how-does-reverse-debugging-work>>, Sep. 24, 2009, 5 pages.
- "International Search Report Issued in PCT Application No. PCT/US19/029028", dated Sep. 23, 2019, 13 Pages.
- "Microsoft/PTVS", retrieved from <<https://github.com/Microsoft/PTVS/tree/master/Python/Product/Debugger.Concord>>, no later than Mar. 1, 2018, 1 page.