Operating a trace procedure for a computer program
AssigneeInternational Business Machines Corporation
InventorsThomas Hess, Martin Raitza, Ralf Richter, Philip Sebastian Schulz, Markus K. Strasser
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsThomas Hess, Martin Raitza, Ralf Richter, Philip Sebastian Schulz, Markus K. Strasser
Estimating the term…
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.
A method comprising:
Dependencies are inferred from the claim text.