Trace Commands
3-5
Trace
3.2
Trace Commands
To access the Trace , simply hit
ALT
T
, or click Trace from the menu bar. This
opens a trace pull-down menu in which you can select or click the following
commands:
-
Inspect
-
Position
-
Save
Inspect frames (the I command)
When Inspect is selected, the debugger checks the emulator to determine how
many trace samples have been collected. If the emulator has no trace sam-
ples, a blank window appears on the screen. Otherwise, the debugger reads
a screenful of the most recent trace samples and displays them. The Inspect
window looks as follows.
(This is given as an example only and assumes that the trace has col-
lected something)
Inspect
Sample
ADDR
Reverse ASM
0007
7042
LDSP
0008
7043
CALL INIT_INIT
0009
7090
RTS
0010
7046
CALL SPI_INIT
...
...
...
...
...
...
...
...
...
Sample is the frame number within the trace buffer, ADDR is the program
counter of the traced instruction, and Reverse ASM is the recreated mnemonic
of the instruction.
Position at an index (the P command)
When Position is selected by pressing
ALT
P
or by clicking the P with the
mouse, the following dialog box is opened.
Position
Sample Number [...............................]
<Bottom>
<Top>
<<OK>> <Cancel>
Summary of Contents for CDT370
Page 2: ...Printed in U S A October 1993 reprinted July 1995 2656911 9761 revision B SPNU133 ...
Page 14: ...1 4 ...
Page 36: ...2 22 ...
Page 44: ...3 8 ...
Page 52: ...5 2 ...
Page 54: ...6 2 ...
Page 70: ...8 10 ...
Page 76: ...9 6 ...
Page 78: ...10 2 ...
Page 82: ...Index 4 ...