Chapter 5: Debugging Programs
Stepping, Running, and Stopping the Program
To run the program until the specified line
Position the cursor in the Source window on the line that you want to
1
run to.
2
Choose the Execution→Run to Cursor (ALT, E, C) command.
Execution stops immediately before the cursor-selected line.
Because this command uses breakpoints, you cannot use it when programs
are stored in target system ROM.
If the specified address is not reached within the number of milliseconds
specified by StepTimerLen in the B3621.INI file, a dialog box appears, asking
you to cancel the command by choosing the Stop button. When the Stop
button is chosen, the program execution stops, the breakpoint is deleted, and
the processor transfers to the RUNNING IN USER PROGRAM status.
Note
This can be done more quickly by using the pop-up menu available with the
right mouse button.
To run the program until the current function return
•
Choose the Execution→Run to Caller (ALT, E, T) command.
The Execution→Run to Caller (ALT, E, T) command executes the program
from the current program counter address up to the return from the current
function.
142