To Trace Until The Analyzer Is Halted - HP 64751 User Manual

Graphical user interface
Table of Contents

Advertisement

The trace listing above shows that the program loops 4 times for each call of the
"do_sort" function.

To trace until the analyzer is halted

• Choose Trace→Until Stop.
• Using the command line, enter the trace on_halt command.
The trace on_halt command allows you to prevent triggering. In other words, the
trace runs until you enter the stop_trace command. 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. 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.
Also, note that this does not work the same when using a foreground monitor
(unless the processor becomes halted) because the analyzer continues to capture
states when the break to monitor occurs.
Chapter 7: Using the Emulation Analyzer
Qualifying Trigger and Store Conditions
243

Advertisement

Table of Contents
loading

This manual is also suitable for:

6834064704

Table of Contents