Invention Grant
US08495587B2 Method, apparatus or software for selectively activating a trace function
失效
用于选择性地激活跟踪功能的方法,装置或软件
- Patent Title: Method, apparatus or software for selectively activating a trace function
- Patent Title (中): 用于选择性地激活跟踪功能的方法,装置或软件
-
Application No.: US12627015Application Date: 2009-11-30
-
Publication No.: US08495587B2Publication Date: 2013-07-23
- Inventor: William Bittles , Paul A Titheridge , David J Vines
- Applicant: William Bittles , Paul A Titheridge , David J Vines
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Jeffrey T. Holman
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A method, apparatus, and a computer program product are disclosed for selectively activating a trace function in a computer program in response to a call of a predetermined trigger code element so that trace data is produced only for those subroutines that call the trigger code element or are called by the trigger code element. The computer program product provides one or more trace code elements for one or more selected subroutines of the computer program stored on internal memory of a digital computer. The trace code elements provide trace data for said selected subroutines. The computer program product also selects a subroutine as a trigger code element, processes the computer program, monitors the call stack for the trigger code element, and enables the trace code elements for each selected subroutine simultaneously present in the call stack if the trigger code element is identified in the call stack.
Public/Granted literature
- US20100180159A1 METHOD, APPARATUS OR SOFTWARE FOR SELECTIVELY ACTIVATING A TRACE FUNCTION Public/Granted day:2010-07-15
Information query