Patents
US 8,745,596 B2#21539946 Most CitedActiveUnited States (USPTO)Utility

Program debugging with dynamically inserted instrumentation

5Forward Citations (#21539946 Global)
0.4/yrCitation Velocity (#19378687 Global)
1.37Citation PageRank (#26401227 Global)
16Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The present disclosure simplifies programming debugging by dynamically injecting debugger compiled instrumentation into the debuggee process such that the debuggee process executes the instrumentation without executing the debugger. In one example method, the debugger controls compiling a description of the instrumentation as an instrumentation method. The debugger can then write the instrumentation method into the debuggee. The debuggee can save the state of a target method of the debuggee process at a predetermined location. The debuggee process calls the instrumentation method from the debuggee. In addition, the state of the target method can be restored and the resumed from the predetermined location after the instrumentation method executes.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of debugging a debuggee process, comprising: compiling a description of instrumentation as an instrumentation method having processor-executable instructions to be called from within a target method, the compiling under control of a debugger; writing the instrumentation method with the debugger in a debuggee; writing a new target method to supplant the target method with the debugger to include the instrumentation method into the debugger-selected location in the debuggee, wherein the new target method includes a first portion of the new target method prior to the debugger selected lo

Technical Overview & Description

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

References Cited — Backward Prior Art (16)

PatentTitleYearCitations
US 2002199172 A1Dynamic instrumentation event trace system and methods—269
US 6,658,471 B1Method and system for zero overhead software performance measurement instrumentation200370
US 2004205720 A1Augmenting debuggers—70
US 6,918,110 B2Dynamic instrumentation of an executable program by means of causing a breakpoint at the entry point of a function and providing instrumentation code200549
US 2006195822 A1Method and system for debugging an electronic system—60
US 2007168979 A1Transparent debugging of programs in dynamic translation systems—35
US 2007240125 A1Debugging functionality embedded in an application—39
US 7,293,259 B1Dynamically configuring selected methods for instrument-based profiling at application run-time200782
US 2008127118 A1Method and system for dynamic patching of software—14
US 2010042982 A1Optimization of imperative implementation of compositional content—9
US 2010275185 A1System and Method for High Performance Coverage Analysis—14
US 8,006,232 B1Serialization of function calls to a graphics API for debugging a remote device201128
US 2012011491 A1Efficient recording and replaying of the execution path of a computer program—40
US 8,209,674 B2Tier splitting support for distributed execution environments20128
US 8,245,200 B2Method, system, and apparatus for dynamically injecting logging statements into web 2.0 javascript applications201218
US 8,266,608 B2Post-compile instrumentation of object code for generating execution trace data20127

Non-Patent Literature (5)

  • Kumar, et al., "Transparent Debugging of Dynamically Instrumented Programs", retrieved at <<http://www.cs.pitt.edu/˜naveen/papers/wbia05.pdf>>, pp. 6. (2005).
  • Kumar, et al., "Transparent Debugging of Dynamically Instrumented Programs", retrieved at >, pp. 6. (2005).
  • Nulkar, et al., "An Instrumentation Engine for Dynamic Program Analysis", retrieved at <<http://www.chillarege.com/fastabstracts/issre2003/166-FA-2003.pdf>>,ISSRE 2003, pp. 2.
  • Nulkar, et al., "An Instrumentation Engine for Dynamic Program Analysis", retrieved at >,ISSRE 2003, pp. 2.
  • Olszewski et al., JIT instrumentation: a novel approach to dynamically instrument operating systems, Jun. 2007, 14 pages.