Patents
US 8,997,059 B2#27304762 Most CitedActiveUnited States (USPTO)Utility

Reverse debugging

4Forward Citations (#27304762 Global)
0.4/yrCitation Velocity (#22228389 Global)
1.04Citation PageRank (#39177597 Global)
14Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and reverse debugger are provided for reversely debugging a program. The method includes: obtaining debugging information of the program as outputted by a compiler, the debugging information including information related to extended basic blocks of the program; in response to the program entering into reverse debugging, setting a reverse debugging checkpoint at an entry address of at least one extended basic block; in response to the program reaching a set reverse debugging checkpoint, storing information required by debugging that corresponds to the reverse debugging checkpoint; in response to receiving a set reverse debugging target breakpoint, making the program return to a reverse debugging checkpoint located before the reverse debugging target breakpoint and nearest to the reverse debugging target breakpoint, obtaining information required to be stored by the debugging stored at the reverse debugging checkpoint, and continuing to execute the program till the reverse debugging target breakpoint.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of reversely debugging a program, comprising: obtaining debugging information of the program as outputted by a compiler, the debugging information comprising information related to extended basic blocks (EBBs) of the program; in response to the program entering into a reverse debugging, setting a reverse debugging checkpoint at an entry address of at least one extended basic block; in response to the program reaching a set reverse debugging checkpoint, storing information required to be stored by debugging that corresponds to the reverse debugging checkpoint; in response to receiving

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Gottbrah, "Reverse Debugging with the TotalView Debugger", 2008, Cray User Group Conference.
  • Maruyama et al., "Debugging with Reverse Watchpoint", 2003, IEEE.
  • Pan et al., "Supporting Reverse Execution of Parallel Progranls", 1988, ACM, pp. 124-129.
  • Sosic, Rok, "History Cache: Hardware Support for Reverse Execution", Newsletter ACM SIGARCH Computer Architecture News, vol. 22, Issue 5, Dec. 1994 (pp. 11-18).
  • Visan et al., "URDB: A Universal Reversible Debugger Based on Decomposing Debugging Histories", Oct. 2011, ACM.