Patents
US 6,957,421 B2#4233928 Most CitedExpiredUnited States (USPTO)Utility

Providing debugging capability for program instrumented code

20Forward Citations (#4233928 Global)
0.9/yrCitation Velocity (#7548468 Global)
3.31Citation PageRank (#6457361 Global)
7Prior Art Cited
3Claims (2 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

The present invention, in various embodiments, is directed to techniques for providing debugging capability for program code instrumentation. In one embodiment, an instrumentor inserts an instrumentation breakpoint at the beginning of a block of original code. When this breakpoint is reached during execution of the application program that includes the block of original code, the instrumenator, from the block of original code, generates a block of instrumented code. This block of instrumented code may include debugging breakpoints that are carried from the block of original code or are inserted into the block of instrumented code during debugging. After generating the instrumented code, the instrumentor executes the instrumented code until debugging breakpoints are reached that stop the program flow, thereby allowing a programmer to perform debugging functions at these debugging breakpoints.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 2 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for allowing debugging capability in code instrumentation that takes a block of original code to produce a block of instrumented code, comprising the steps of: providing an instrumentation breakpoint in the block of original code; running the block of original code including the instrumentation breakpoint until a breakpoint is reached; determining whether the breakpoint is the instrumentation breakpoint; and, if so, then generating the block of instrumented code; running the block of instrumented code until a debugging breakpoint is reached, and performing debugging functions on the b

  2. Claim 2Depends on #1

    The method of claim 1 wherein the step of providing comprises the step of replacing a first instruction in the block of original code by the instrumentation breakpoint.

  3. Claim 3Independent Claim

    The me

Technical Overview & Description

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

Non-Patent Literature (2)

  • Copperman and Thomas, Poor Man's Watchpoints, Jan. 1995, ACM SIGPLAN Notices, vol. 30, No. 1, pp. 37-44.
  • Hollingsworth et al, MDL: A Language and Compiler for Dynamic Program Instrumentation, 1997, IEEE, International Conference on Parallel Architectures and Compilation Techniques, pp. 201-212.