Program debugging with dynamically inserted instrumentation
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)
- 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 ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (16)
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.