Specifications
Wind River Trace for Wind River Workbench
Hardware Reference, 3.0
60
Trace Options
Use this field to specify what kind of tracepoint you are setting. Enable the
tracepoint by selecting the Trace Options checkbox, and choose the type of
tracepoint you want from the drop-down list. The available types of tracepoints
vary by processor family. For a description of all trace events, see 4. Filtering Trace.
TWrap
This option sets the Stop Trace When Buffer is Full flag.
This option can be used only with the Trace On option to stop trace capturing
when the end of the trace buffer is reached. The default is to continue trace at the
end of the buffer, so when you stop the target, the last pieces of trace data should
match the current instruction.
If the option is set to
ON, trace will stop at the end of the buffer.
If the option is set to
OFF, trace will continue after the end of the buffer and
overwrite previous trace, beginning at the start of the buffer.
To set this flag, select the TWrap checkbox and choose
ON or OFF from the
drop-down list.
You can also set this flag using low-level commands. At the
>BKM> prompt in the
OCD Command Shell, use the following commands:
Syntax:
Get TWRAP
Set TWRAP
[ON, OFF]
3.6.2 Tracing Execution
Having specified your tracepoint in the Line Tracepoint dialog, click OK.
Workbench sets the tracepoint in your code, placing a trace icon in the editor. An
entry for the tracepoint appears in the Breakpoints view.
In the Debug view, click Resume. Let some code execute and then click Suspend.
In the Trace view, click Refresh View.
Trace information appears in the Trace view, as shown in Figure 3-8.










