Program debugging with dynamically inserted instrumentation
US8745596B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Feb 5, 2009 |
| Grant date | Jun 3, 2014 |
| Priority date | — |
| Expiry date | Jan 29, 2032 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3644
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.