发明名称 Method and apparatus for tracing execution of computer programming code using dynamic trace enablement
摘要 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.
申请公布号 US8108839(B2) 申请公布日期 2012.01.31
申请号 US20060565334 申请日期 2006.11.30
申请人 CLARK TIMOTHY PRESSLER;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CLARK TIMOTHY PRESSLER
分类号 G06F9/44;G06F11/00 主分类号 G06F9/44
代理机构 代理人
主权项
地址
您可能感兴趣的专利