System and method for conditional tracing of computer programs
Abstract
A software system is disclosed which facilitates the process of tracing the execution paths of a program, called the client. The tracing is performed without requiring modifications to the executable or source code files of the client. Trace data collected during the tracing operation is collected according to instructions in a trace options file. At run time, the tracing library attaches to the memory image of the client. The tracing library is configured to monitor execution of the client and to collect trace data, based on selections in the trace options file. Conditional tracing, through the use of triggers and actions taken in response to the triggers, allows the developer to control the tracing operation. The triggers can be conditional triggers in which the corresponding action is taken only if a conditional expression is satisfied. The system can trace multiple threads and multiple processes. The tracing system provides a remote mode and an online mode. In remote mode, the developer sends the trace control information (which can include triggers and corresponding actions) to a remote user site together with a small executable image called the agent that enables a remote cus
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 60.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of tracing the execution of a computer program comprising: generating trace control information which specifies triggers and associated actions; attaching a client-side trace library to a memory image of a program, wherein attaching to the memory image comprises replacing, based on the trace control information, one or more original instructions of the memory image with debugging instructions, thereby causing the debugging instructions to be executed where the original instructions would have been executed; maintaining the one or more original instructions in a separate data structure
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 60 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Abramson, D., et al., "A Debugging Tool for Software Evolution", CASE-95, 7th International Workshop on Computer-Aided Software Engineering, Jul. 1995.
- Appelbe et al., "Integrating tools for debugging and developing multitasking programs," ACM, 1993, pp. 78-88.
- Bates, Peter C., "Debugging Heterogeneous Distributed Systems Using Event-Based Models of Behavior," ACM Transactions on Computer Systems, vol. 13, No. 1, Feb. 1995, pp. 1-31.
- Bruegge, C.P. et al., "A Framework for Dynamic Program Analyzers," OOPSLA, 1993, pp. 62-85.
- Celine Boutros Saab, Xavier Bonnaire, and Bertil Folliot "Phoenix: A Self Adaptable Monitoring Platform for Cluster Management"-Cluster Computing 5, 2002, 11 pages.