To Step High-Level Source Lines - HP 64751 User Manual

Graphical user interface
Table of Contents

Advertisement

If the user program executes a STOP or LPSTOP instruction, you cannot break to
the emulator's monitor state while the processor is in the stopped state. The break
command uses the emulation processor background debug mode (BDM), and the
processor must be executing instructions in order to enter the BDM. An interrupt
from the target system will cause the 68340 to exit the stopped state; then, the break
command will work normally.
Software breakpoints and the run until command allow you to stop execution at
particular points in the user program.
Examples
To break emulator execution from the user program to the monitor:
break <RETURN>

To step high-level source lines

• Choose Execution→Step Source and select one of the items from the cascade
menu.
• Using the command line, enter the step source command.
When stepping through instructions associated with source lines, execution can
remain in a loop and the message "Stepping source line 1; Next PC: <address>" is
displayed on the status line. In this situation you can abort the step command by
pressing <CTRL>c.
Examples
To step through instructions associated with the high-level source lines at the
current program counter:
step source <RETURN>
To step through instructions associated with high-level source lines at address
"main":
step source from main <RETURN>
Chapter 6: Using the Emulator
Executing User Programs
177

Advertisement

Table of Contents
loading

This manual is also suitable for:

6834064704

Table of Contents