| |||
| Home > Setting Unconditional Tracepoints > About setting unconditional tracepoints | |||
You can set unconditional tracepoints using one of the following methods:
Use the New Tracepoint dialog box to quickly set the following unconditional tracepoints:
triggers
trace start and end points
trace ranges
external output events, if the target has an Embedded Trace Macrocell™ (ETM™) that supports them.
These can be set individually or in conjunction with other tracepoints, to ensure capture of trace information for the precise area of interest.
Set a trace range on selected lines of source or disassembly in the Code window.
Manually with the Create Tracepoint dialog box.
Use the any of the trace commands, TRACE, TRACEDATAACCESS, TRACEDATAREAD, TRACEDATAWRITE, TRACEEXTCOND, TRACEINSTREXEC, or TRACEINSTRFETCH.
The amount of trace information returned depends on the buffer size that is currently set.
When you set a tracepoint, such as a trigger, a corresponding Clear option becomes available in the List Selection dialog box. You can select the Clear option to remove the tracepoint you have set, and the arrow in the left margin of your code is removed. The option Clear Range removes both the start and end points of the range you have set.
You can set multiple tracepoints on an individual source line. Therefore, if you clear one tracepoint and another exists at the same location, the arrow icon that indicates the tracepoint is still present.
See also:
Setting a trace range for selected source lines or disassembly
Setting unconditional tracepoints with the Create Tracepoint dialog box
the following in the RealView Debugger Command Line Reference Guide:
Alphabetical command reference for details of the TRACE, TRACEDATAACCESS, TRACEDATAREAD, TRACEDATAWRITE, TRACEEXTCOND, TRACEINSTREXEC, and TRACEINSTRFETCH commands.