Back to results
US 8,136,093 B2Granted
System for adding code commentary to source code during software debugging
AssigneeInternational Business Machines Corporation
InventorMatthew B. White
Life of this patent
Estimating the term…
Abstract
A mechanism is provided for linking with source code, code commentary relating to the source code's execution. An advantage is achieved by storing the code commentary received from a user during software debugging about a program's execution directly alongside the source code.
Claims12
A system for software debugging, comprising:
- a processor;
- and
- a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to:
- execute software under the control of a debugger;
- interrupt, through a breakpoint, an execution of the software under debugger control at a point in the software where the breakpoint is inserted;
- upon interrupting the execution of the software, receive user input information from a user relating to the execution of the software, wherein the user input information is code commentary provided by the user relating to the execution of the software at the point where the software is interrupted during the execution of the software;
- link the code commentary relating to the execution of the software with the breakpoint in the software with a compiler;
- store the code commentary in a data structure of the debugger;
- during a subsequent execution of the software under the control of the debugger, interrupt, through the breakpoint, the execution of the software under the debugger control at the point in the software where the breakpoint is inserted;
- and
- responsive to code commentary being linked with the breakpoint, display on a display coupled to the processor via an interface the code commentary relating to the execution of the software together with the corresponding element of the source code.
8 more elements
A computer program product comprising a computer recordable medium having a computer readable program recorded thereon, wherein the computer readable program, when executed on a computing device, causes the computing device to:
- interrupt, through a breakpoint, an execution of the software under debugger control at a point in the software where the breakpoint is inserted;
- upon interrupting the execution of the software, receive user input information from a user relating to the execution of the software, wherein the user input information is code commentary provided by the user relating to the execution of the software at the point where the software is interrupted during the execution of the software;
- link the code commentary relating to the execution of the software with the breakpoint in the software with a compiler;
- store the code commentary in a data structure of the debugger;
- during a subsequent execution of the software under the control of the debugger, interrupt, through the breakpoint, the execution of the software under the debugger control at the point in the software where the breakpoint is inserted;
- and
- responsive to code commentary being linked with the breakpoint, display on a display coupled to the processor via an interface the code commentary relating to the execution of the software together with the corresponding element of the source code.
4 more elements
Dependencies are inferred from the claim text.