Patents
US 7,685,573 B2#13548552 Most CitedExpiredUnited States (USPTO)Utility

Flexible error trace mechanism

8Forward Citations (#13548552 Global)
0.5/yrCitation Velocity (#15465032 Global)
1.75Citation PageRank (#18056946 Global)
14Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

For a flexible error trace mechanism, embodiments may be implemented for C/C++ interface libraries, or in programs written in C/C++ or other programming languages. In one embodiment, when an error occurs in a function call, a trace element may be recorded that may include the source file name, function name, line number and other information that may be used to identify the error. In one embodiment, the library function may call a plurality of library functions in a function call stack. For each of the plurality of library functions, if the library function generates an error, an error trace element may be added to the error trace. After completion of the library function, the program may obtain the error trace for the library function. The error(s), if any, may be debugged using the information in the obtained error trace.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 8.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A system, comprising: a processor; and a memory comprising program instructions, wherein the program instructions are executable by the processor to implement: in each of two or more threads of a multithreaded program, for each error generated by one or more functions executed in the thread, store an error trace element in thread private data of the respective thread, wherein the error trace element is stored by the thread to the respective thread private data in accordance with an application programming interface (API) to an error trace mechanism, and wherein the thread private data is a mem

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • "Debugging HDF5 Applications", http://hdf.ncsa.uiuc.edu/HDF5/doc/Debugging.html, printed on Nov. 30, 2006.
  • "H5E: Error Interface", Feb. 1, 2002, http://web.archive.org/web/20021220022628/http://hdf.ncsa.uiuc.edu/HDF5/doc/RM-H5E.html, retrived on Oct. 31, 2007.
  • "The Error Handling Interface(H5E)", http://hdf.ncsa.uiuc.edu/HDF5/doc/Errors.html, printed on Nov. 30, 2006.
  • Budlong, "Logging and Tracing in C++ Simplified," Aug. 2001, 2 pages.
  • Java Tech, Chapter 2: Java: Advanced, "Debugging Java," Oct. 15, 2005, 4 pages.