Tracing program execution
When debugging, you may not want to step one statement at a time, nor to set a breakpoint and run until you hit it. You may want to run the program without breaking, collecting data (such as the lines that were executed and the value of a variable as it changes). To do so, the Debugger provides several options for tracing execution. The results of tracing are displayed in the Execution Trace tab.
To get information on any line in the execution trace, you double click it, or right click it and select Line Information from the context menu (described further in Displaying line information and editing procedures).
If you invoke one of these tracing options after you have begun to debug a program, the tracing starts from the current execution point in the program. Statements executed prior to this point are not recorded. If you want to determine how you got to the current point (especially if complicated logic or several layers of calls were involved), the Debugger also provides an option for examining a history of the statements that already executed.
These sections follow: