Invention Grant
US08108839B2 Method and apparatus for tracing execution of computer programming code using dynamic trace enablement
失效
使用动态跟踪启用跟踪执行计算机程序代码的方法和装置
- Patent Title: Method and apparatus for tracing execution of computer programming code using dynamic trace enablement
- Patent Title (中): 使用动态跟踪启用跟踪执行计算机程序代码的方法和装置
-
Application No.: US11565334Application Date: 2006-11-30
-
Publication No.: US08108839B2Publication Date: 2012-01-31
- Inventor: Timothy Pressler Clark
- Applicant: Timothy Pressler Clark
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Roy W. Truelson
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/00

Abstract:
A computer program is traced by associating a trigger with at least one code location, and upon encountering the trigger during execution, selectively enabling trace data collection data at subsequent traceable events. Preferably, collection of trace data is enabled only for procedure instances active (i.e., currently executing or on the call stack) at the time that the trigger is encountered. Preferably, a special environmental flag is set on encountering the trigger, saved in each current stack frame, reset on calling any new procedure, and restored from the stack on return from a procedure. Collection of trace data on a traceable event (such as an explicit trace statement in the code) is conditioned on the state of the special environmental flag.
Public/Granted literature
- US20080134148A1 Method and Apparatus for Tracing Execution of Computer Programming Code Using Dynamic Trace Enablement Public/Granted day:2008-06-05
Information query