Invention Grant
- Patent Title: Operating a trace procedure for a computer program
-
Application No.: US14922304Application Date: 2015-10-26
-
Publication No.: US10310927B2Publication Date: 2019-06-04
- 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 Kinnaman, Esq.; Kevin P. Radigan, Esq.
- Main IPC: G06F11/07
- IPC: G06F11/07 ; G06F11/36 ; G06F9/44

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
- US20160328283A1 OPERATING A TRACE PROCEDURE FOR A COMPUTER PROGRAM Public/Granted day:2016-11-10
Information query