Patents
US 6,968,546 B2#569164 Most CitedExpiredUnited States (USPTO)Utility

Debugging support using dynamic re-compilation

65Forward Citations (#569164 Global)
3.1/yrCitation Velocity (#827854 Global)
8.13Citation PageRank (#1494970 Global)
6Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

The present invention is a method and system to support debug. A function is re-compiled when a field watch for a field is activated. The function includes a byte code sequence having a field byte code that accesses or modifies the field. The re-compiled function provides a native code and occupies a code space. An instrumentation code corresponding to the field watch of the field is generated. The instrumentation code is inserted to the native code.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method comprising: re-compiling a function when a field watch for a field is activated, the function including a byte code sequence having a field byte code that accesses or modifies the field, the recompiled function providing a native code an occupying a code space; generating an instrumentation code corresponding to the field watch of the field, the instrumentation code including code for executing an event hook function; and inserting the instrumentation code to the native code.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising: guarding execution of the instrumentation code if the field watch is not activated.

  3. Claim 3Depends on #1

    The method of claim 1 wherein generating the instrumentation code comprises: executing a field watch sequence if the field watch is activated.

Technical Overview & Description

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

Non-Patent Literature (2)

  • Cooperman, Max and Thomas, Jeff, "Poor Man's Watchpoints", p. 37-44, ACM SIGPLAN Notices, vol. 30, No. 1, Jan. 1995, retrieved from ACM Portal database on Feb. 16, 2004.
  • Kessler, Peter B., "Fast Breakpoints: Design and Implementation", p. 78-84, Proceedings of the ACM SIGPLAN'90 Conference on Programming Language Design and Implementation, Jun. 20-22, 1990, retrieved from ACM database Feb. 16, 2004.