Patents
US 10,698,792 B2#20742335 Most CitedActiveUnited States (USPTO)Utility

Execution control with cross-level trace mapping

5Forward Citations (#20742335 Global)
0.8/yrCitation Velocity (#8801886 Global)
1.51Citation PageRank (#22576640 Global)
43Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (43)

PatentTitleYearCitations
US 6,665,688 B1Method and system for automatically regenerating data on-demand200318
US 2006046854 A1Method and apparatus for developing an electronic game using automatic user feedback—50
US 2006277527 A1Non-destructive debugging for add-ins—5
US 2007294679 A1Methods and apparatus to call native code from a managed code application—40
US 2008127054 A1Connecting with an application instance—10
US 2008127055 A1Application proxy—18
US 2009089764 A1Call stack parsing in multiple runtime environments—48
US 2009113251 A1Real-time analysis of performance data of a video game—37
US 2011145662 A1Coordination of error reporting among multiple managed runtimes in the same process—7
US 2012304156 A1Reducing network trips for remote expression evaluation—24
US 2012331351 A1N-way runtime interoperative debugging—35
US 2013219369 A1Debugging object abstractions—6
US 2014040897 A1Function Evaluation using Lightweight Process Snapshots—12
US 2014380102 A1Advancing and Rewinding a Replayed Program Execution—15
US 2015127991 A1Historical Software Diagnostics using Lightweight Process Snapshots—5
US 2015135194 A1Estimating Time Remaining for an Operation—5
US 2015143344 A1Diagnosing Production Applications—40
US 2015161397 A1Managing sensitive production data—53
US 2015199259 A1Exception and Debugging Behaviors for JavaScript Debugging using Just My Code—6
US 2015199261 A1Classification of JavaScript Code for Debugging using Just My Code—13
US 2015347274 A1Performance Optimization Tip Presentation During Debugging—32
US 2015347269 A1Emulation-based expression evaluation for diagnostic tools—11
US 2015378870 A1Time travel debugging in managed runtime—76
US 2016124834 A1Historical control flow visualization in production diagnostics—29
US 2016239357 A1Ensuring Thread Affinity for Interprocess Communication in a Managed Code Environment—3

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.