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 tracepoint type, trace capture is either enabled or disabled.
Tracepoints can be set from the following:
- Arm Assembler editor.
- C/C++ editor.
- Disassembly view.
- Functions view.
- Memory view.
- The instruction execution history panel in 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. See About trace support for more information about Trace Start, Stop, and Trigger Point.
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.