On demand tracing of application code execution
Abstract
On demand tracing of application code execution includes: during the execution of the application code, writing trace statements to a circular trace buffer (at a selected and potentially variable detail level); determining whether a pre-defined trigger event has occurred; in response to determining that the trigger event has occurred, outputting one or more trace statements in the circular trace buffer according to pre-defined trace parameters; determining whether a trigger end event has occurred; and in response to determining that the trigger end event has occurred, terminating the outputting of the trace statements. The trigger event and the trigger end event may be defined by names of application code variables, values for the variables, and operators to be used. The trigger end event may further be defined by a time duration for which trace statements are to be outputted, or a number of trace statements to be outputted.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for tracing execution of application code, comprising: executing the application code comprising a plurality of trace statements encoded within; in response to executing a current trace statement within the application code, writing the current trace statement to a circular trace buffer and determining whether a pre-defined trigger event has occurred by the computing device; and in response to determining that the trigger event has occurred, outputting the current trace statement from the circular trace buffer by the computing device; outputting from the circular trace buffer a number
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,169,904 B2 | Automatically initiating tracing of program code based on statistical analysis | 2021 | 0 |
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Prosody guide: application tracing", http://www.aculab.com/support/pdf-documents/v6-linux/ting/pubdoc/trace-app.html#tod; Mar. 8, 2011; all pages.
- "Trace Listeners and Switches"; http://www.hesab.net/book/asp.net/Additional%20Documents/Trace%20Listeners%20and%20Switches.pdf; Dec. 5, 2003; all pages.
- “Prosody guide: application tracing”, http://www.aculab.com/support/pdf—documents/v6—linux/ting/pubdoc/trace—app.html#tod; Mar. 8, 2011; all pages.
- IBM, "Host On-Demand tracing checklist," http://publib.boulderibm.com/infocenter/hodhelp/v10r0/index.jsp?topic=/com.ibm.hod.doc/doc/troubleshoot/pd-traces.html; Jul. 2005; all pages.
- IBM, “Host On-Demand tracing checklist,” http://publib.boulderibm.com/infocenter/hodhelp/v10r0/index.jsp?topic=/com.ibm.hod.doc/doc/troubleshoot/pd—traces.html; Jul. 2005; all pages.