Trace data collection using breakpoints
A convenient way to collect trace data between two execution points is to start and stop the data collection using dedicated breakpoints.
Choose between these alternatives:
In the editor or Disassembly window, position your insertion point, right-click, and toggle a Trace Start Trigger or Trace Stop Trigger breakpoint from the context menu.
In the Breakpoints window, choose New Breakpoint>Trace Start Trigger or Trace Stop Trigger from the context menu.
The C-SPY system macros
__setTraceStartBreakand__setTraceStopBreakcan also be used.
For more information about these breakpoints, see Trace Start Trigger breakpoint dialog box and Trace Stop Trigger breakpoint dialog box, respectively.
Note
Trace information can also be collected from specified memory locations by using data trace collection breakpoints, see Data trace collection breakpoints.