发明授权
- 专利标题: Flexible error trace mechanism
- 专利标题(中): 灵活的误差跟踪机制
-
申请号: US10651328申请日: 2003-08-28
-
公开(公告)号: US07685573B2公开(公告)日: 2010-03-23
- 发明人: Amy H. Kang , Joseph F. Di Pol , Linda K. Schneider , Christopher S. Kasso
- 申请人: Amy H. Kang , Joseph F. Di Pol , Linda K. Schneider , Christopher S. Kasso
- 申请人地址: US CA Santa Clara
- 专利权人: Sun Microsystems, Inc.
- 当前专利权人: Sun Microsystems, Inc.
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- 代理商 Robert C. Kowert
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
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.
公开/授权文献
- US20050028145A1 Flexible error trace mechanism 公开/授权日:2005-02-03
信息查询