Tracing On Halt; Conclusion - HP 64700 Series User Manual

64000-ux case solutions for microprocessors, softkey interface
Hide thumbs Also See for 64700 Series:
Table of Contents

Advertisement

T racing on Halt
1
C onclusion
1
2-30 Getting Started
The "trace on_halt" command allows you to prevent triggering. In
other words, the trace runs until you enter the "stop_trace"
command (described in the next section). The "trace on_halt"
command is the same as tracing "before" a state that never occurs.
The "trace on_halt" command is useful, for example, when you wish
to trace the states leading up to a break into the monitor (provided
that you are using the background monitor and tracing only
foreground operation). Suppose your program breaks on an access
to guarded memory. To trace the states that lead up to the break,
enter the "trace on_halt" command, and run the program. When
the break occurs, the emulator is running in the background
monitor, and the analyzer is no longer capturing states. To display
the states leading up to the break, enter the "stop_trace" command
(and the "display trace" command if traces are not currently being
displayed).
When the "on_halt" option is used in a trace command, the trigger
condition (and position) options, as well as the "repetitively" and
"break_on_trigger" options, cannot be included in the command.
This concludes the "Getting Started" chapter. You have learned
about the basic trace commands and how to specify trigger
conditions, storage, prestore, and count qualifiers, occurrence
qualifiers, and address, data, and status qualifiers.

Advertisement

Table of Contents
loading

Table of Contents