
Hitachi Embedded Workshop User Manual
320
5.68
TRACE
Abbreviation: TR
Description:
Displays the trace buffer contents. The record in the buffer that was executed first is 0; older records have
positive offset values.
Syntax:
tr [[<start rec> [<count>]] | [<clear>]]
Parameter
Type
Description
<start rec>
Numeric
Record to start display (optional, default = most recent
record - 9)
<count>
Numeric
Number of records to be displayed (optional, default = 10)
Keyword
Clears all trace records (optional)
<clear>
clear
Clears all trace records
Note: When a negative value is specified for <start rec> (-0 cannot be specified), the value is recognized
as a PTR value.
Examples:
TR 0 20
Displays twenty lines of trace buffer contents starting from the top of the
buffer.
TR
Displays ten lines of trace buffer contents starting from the end of the buffer
(the ten most recently executed lines).
TR –20 10
Displays trace buffer contents for which the PTR value is between –20
and -11.
TR C
Clears all trace records.