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

Emulation/analysis
Table of Contents

Advertisement

Chapter 7: Using the Emulation Analyzer
Qualifying Trigger and Store Conditions

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
because the analyzer continues to capture states when the break to monitor occurs
(unless the code that causes the break also causes processor to halt). In this case,
you can use the command line to enter a trace command that stores only states
outside the range of the foreground monitor program (for example, trace only not
range <mon_start_addr> thru <mon_end_addr> on_halt).
264

Advertisement

Table of Contents
loading

This manual is also suitable for:

68302

Table of Contents