Patent · US Active

Operating a trace procedure for a computer program

US10310927B2 · kind B2 · utility

0Cited by
5References
8Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 26, 2015
Grant dateJun 4, 2019
Priority date
Expiry dateJan 25, 2036

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3636
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.