| |||
Home > Controlling execution > Setting a tracepoint |
Tracepoints are memory locations that are used to trigger behavior in a trace capture device when running an application. A tracepoint is hit when the processor executes an instruction at a specific address. Depending on the type. trace capture is either enabled or disabled.
Tracepoints can be set from any of the following views:
ARM Assembler editor
C/C++ editor
Disassembly view
Functions view
Memory view
Disassembly panel of the Trace view.
To set a tracepoint, right-click in the left-hand marker bar at the position where you want to set the tracepoint and select either Toggle Trace Start Point, Toggle Trace Stop Point, or Toggle Trace Trigger Point from the context menu. To remove a tracepoint, repeat this procedure on the same tracepoint or delete it from the Breakpoints view.
Tracepoints are stored on a per connection basis. If the active connection is disconnected then tracepoints can only be created from the source editor.
All tracepoints are visible in the Breakpoints view.