Invention Grant
- Patent Title: Operating a trace procedure for a computer program
-
Application No.: US14705208Application Date: 2015-05-06
-
Publication No.: US09678821B2Publication Date: 2017-06-13
- Inventor: Thomas Hess , Martin Raitza , Ralf Richter , Philip Sebastian Schulz , Markus K. Strasser
- Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agency: Heslin Rothenberg Farley & Mesiti P.C.
- Agent William A. Kinnaman, Esq.; Kevin P. Radigan, Esq.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/07 ; G06F11/36

Abstract:
A method is provided for operating a trace procedure, which traces execution of a computer program, where the program uses different callable modules. A program stack is used to store trace buffer information and an error state, and the modules include calls of the trace procedure. The method includes: (i) when entering execution of a module, storing the current write position of the trace buffer and a cleared error flag in the current frame of the stack; (ii) in case of an error condition during execution of the program, setting the error flag in the current frame; and (iii) when leaving execution of a module, determining if the error flag is set, and if not, then rewinding the trace buffer to the write position stored in the current frame, and deleting the current write position of the trace buffer and the error flag from the stack.
Public/Granted literature
- US20160328311A1 OPERATING A TRACE PROCEDURE FOR A COMPUTER PROGRAM Public/Granted day:2016-11-10
Information query