Method and system for tracing and displaying execution of nested functions
Abstract
A method and system for tracing the failing or successful execution of nested functions coded with return codes in a thread during its execution. The method comprises an ENTRY and EXIT trace macro to mark the beginning and the end of execution of the function, a TRACE macro to record messages and program variable values, and a QUIT macro marking the failing execution of the corresponding function. Using a Graphical User Interface, an interactive trace analyzer reads the trace file and displays the tree structure of the nested functions and marks, by using different colors, the success or failure of each of them. The trace analyzer utilities help the user to quickly identify the error in the source code corresponding to a function with a failing execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 68.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for identifying errors, in a source code stored on a computer, of program components having nested functions which may use return codes and which are executed in a multithread environment, said method comprising the steps of: using an editor operating on the computer, adding, in the source code of the program components, the following macros: an ENTRY macro at a beginning of each function, an EXIT macro at a normal execution end of each function, a TRACE macro wherever specific information needs to be dumped and a QUIT macro in a place where an unexpected condition occurs; compiling t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 68 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (2)
- Research Disclosure Nov. 1998 No. 415, Article No. 41583, "Trace Viewer", p. 1513.
- Tivoli Software Distribution Reference Manual Version 4.0.