Stepping and application state viewing between points
First Claim
1. A method for providing stepping and state viewing in a portion of code via a debugger, the method comprising:
- setting, via the debugger, a start breakpoint and an end breakpoint in a portion of code;
executing the portion of code from at least the start breakpoint;
logging, starting at the start breakpoint set in the executing portion of code, values of variables in scope of the portion of code whether or not the values are changed as a result of the executing;
breaking the execution at the end breakpoint set in the executing portion of code resulting in an executed and logged portion of code from the start breakpoint up to the end breakpoint; and
providing, in response to the breaking, the stepping and state viewing in the form of a bi-directional playback feature configured to play back a path of the executed and logged portion of code, and further configured to show to a user via the bi-directional playback feature the logged values of the variables at each point of execution of the executed and logged portion of code;
wherein the method is performed by a computing device.
2 Assignments
0 Petitions
Accused Products
Abstract
Various technologies and techniques are disclosed for providing stepping and state viewing in a debugger application. A start and end breakpoint are assigned. Source code execution begins, and upon reaching the start breakpoint, a logging feature begins storing one or more values that may be impacted upon execution of code between the start breakpoint and an end breakpoint. More lines of source code are executed until the end breakpoint is reached. When the end breakpoint is reached, the debugger is put into break mode. While in break mode, a playback feature is provided to allow a user to play back a path of execution that occurred between the start breakpoint and the end breakpoint. The playback feature uses at least some of the values that were stored with the logging feature to show how each referenced variable changed in value.
33 Citations
14 Claims
-
1. A method for providing stepping and state viewing in a portion of code via a debugger, the method comprising:
-
setting, via the debugger, a start breakpoint and an end breakpoint in a portion of code; executing the portion of code from at least the start breakpoint; logging, starting at the start breakpoint set in the executing portion of code, values of variables in scope of the portion of code whether or not the values are changed as a result of the executing; breaking the execution at the end breakpoint set in the executing portion of code resulting in an executed and logged portion of code from the start breakpoint up to the end breakpoint; and providing, in response to the breaking, the stepping and state viewing in the form of a bi-directional playback feature configured to play back a path of the executed and logged portion of code, and further configured to show to a user via the bi-directional playback feature the logged values of the variables at each point of execution of the executed and logged portion of code; wherein the method is performed by a computing device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. At least one computer-readable storage medium that is not a signal or carrier wave per se having computer-executable instructions that, when executed by a computer, cause the computer to perform a method comprising:
-
setting, via a debugger, a start breakpoint and an end breakpoint in a portion of code; executing the portion of code from at least the start breakpoint; logging, starting at the start breakpoint set in the executing portion of code, values of variables in scope of the portion of code whether or not the values are changed as a result of the executing; breaking the execution at the end breakpoint set in the executing portion of code resulting in an executed and logged portion of code from the start breakpoint up to the end breakpoint; and providing, in response to the breaking, the stepping and state viewing in the form of a bi-directional playback feature configured to play back a path of the executed and logged portion of code, and further configured to show to a user via the bi-directional playback feature the logged values of the variables at each point of execution of the executed and logged portion of code. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A system comprising:
-
a breakpoint feature configured for setting, via a debugger, a start breakpoint and an end breakpoint in a portion of code; a computing device configured for executing the portion of code from at least the start breakpoint; a logging feature configured for logging, starting at the start breakpoint set in the executing portion of code, values of variables in scope of the portion of code whether or not the values are changed as a result of the executing; the breakpoint feature further configured for breaking the execution at the end breakpoint set in the executing portion of code resulting in an executed and logged portion of code from the start breakpoint up to the end breakpoint; and a bi-directional playback feature configured to operate on the computing device and configured to playback, in response to the breaking, a path of the executed and logged portion of code, and further configured to show to a user the logged values of the variables at each point of execution of the executed and logged portion of code.
-
Specification