Method of generating and utilizing debug history
AssigneeInternational Business Machines Corporation
InventorsCary L. Bates, Paul R. Day
Life of this patent
Estimating the term…
Abstract
The present invention is generally directed towards providing a method, system and article of manufacture for generating and utilizing debug history to improve the debugging process. By providing facilities to store and retrieve debug history records for given events, the present invention allows developers to debug code more efficiently by allowing them to leverage information stored in a debug history repository. Further, the added functionality, related to the debug history, is available via modules that work in conjunction with existing debugger applications and is provided to users via a variety of interfaces including graphic interfaces and plug-in components.
Claims6
A computer-implemented method for debugging code using a debugger program comprising one or more interfaces for specifying debugger operations and displaying debug information, the method comprising:
- at a current halted position, at which execution of the code is suspended for the purpose of allowing a user to examine the code:
- collecting state information related to the current halted position wherein the state information is defined at least in part by an evaluation of one or more variables by a command which is separate from the code, the evaluation having been performed at the request of a user at the halted position;
- querying a debug history repository to determine whether a current state of the code at the current halted position matches a given state described in a history record in the debug history repository;
- and
- if so, providing a user an indication of the match via the one or more interfaces;
- wherein the debug history repository is queried using filters selected from the group consisting of developer name, time, and combinations thereof.
A computer system, comprising:
- a memory containing a debugger program for debugging code and comprising one or more interfaces for specifying debugger operations and displaying debug information;
- a processor which, when executing the debugger program, performs an operation comprising:
- at a current halted position, at which execution of the code is suspended for the purpose of allowing a user to examine the code:
- collecting state information related to the current halted position wherein the state information is defined at least in part by an evaluation of one or more variables by a command which is separate from the code, the evaluation having been performed at the request of a user at the halted position;
- querying a debug history repository to determine whether a current state of the code at the current halted position matches a given state described in a history record in the debug history repository;
- and
- if so, providing a user an indication of the match via the one or more interfaces;
- wherein the debug history repository is queried using filters selected from the group consisting of developer name, time, and combinations thereof.
Dependencies are inferred from the claim text.