To step through a program
You can execute one source line (high-level mode) or one instruction
(assembly-level mode) at a time by stepping through the program.
• Click on the Step action key a few times.
• If you want to try using a pull-down menu, select Execution→Step→from PC a
few times.
As the debugger steps through the program, you can see the PC (PC) progress
through the source code, as shown by the inverse video line in the Code
window.
To run until a stack level
Now we need to go back to main(). You can run the program until it enters
main() by running to a stack level.
1 Position the mouse pointer over the line containing "main\main" in the
Backtrace window.
2 Select Run Until Stack Level from the Backtrace pop-up menu.
The program counter is now back in main(), on the call to proc_spec_init().
Chapter 1: Getting Started with the Graphical Interface
To step through a program
25