Chapter 12: Debugger Commands
Program Step
Program Step
The Program Step command executes the specified number of instructions or
lines, beginning with the location identified with < start_addr> . In high-level
mode, single-stepping is done one C source line at a time. In assembly-level
mode, single-stepping is done one machine instruction at a time. When the
program calls a function, stepping continues in the called function.
If you do not specify a starting address, single-stepping begins at the address
contained in the program counter.
If you do not specify a step count (< step_count> ), the debugger will either
step one C source line or one machine instruction.
Note
If the debugger steps into an HP library routine, you can then use the Program
Run Until @1 (stack level 1) command to run to the end of the library routine.
Program Step From
The Program Step From command executes one instruction or line, beginning
with the location specified by < start_addr> . If you do not specify the optional
step count (< step_count> ), the debugger executes one line or one instruction.
458