Invention Grant
- Patent Title: Assisting debug memory tracing using an instruction array that tracks the addresses of instructions modifying user specified objects
- Patent Title (中): 使用跟踪修改用户指定对象的指令地址的指令数组来协助调试存储器跟踪
-
Application No.: US12135446Application Date: 2008-06-09
-
Publication No.: US08261242B2Publication Date: 2012-09-04
- Inventor: Alan E. Booth , James E. Fox , Venkataraghavan Lakshminarayanachar
- Applicant: Alan E. Booth , James E. Fox , Venkataraghavan Lakshminarayanachar
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Patents on Demand P.A.
- Agent Brian K. Buchheit; Scott M. Garrett
- Main IPC: G06F11/36
- IPC: G06F11/36

Abstract:
The present invention discloses a solution for increasing the immediacy in determining a point of failure after an unexpected program termination. In the solution, a user determined object is identified by a user at compile time, where the identified object is one to be tracked. The compiler introduces executable code into the source code which is able to track modifications made to the object members during run-time. During execution, the address of each instruction modifying to the object is stored in an instruction pointer (IP) array associated with the tracked object. The IP array is continuously updated during program execution when an instruction modifies a member of the tracked object. When an unexpected program termination occurs, the instruction pointer array can be presented to a debugging agent to assist in determining the instruction causing the termination. The debugging agent can be a human agent, debugging software, report generation software, and the like.
Public/Granted literature
Information query