Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Trace data collection using breakpoints

In this section:

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 __setTraceStartBreak and __setTraceStopBreak can also be used.

For more information about these breakpoints, see Trace Start Trigger breakpoint dialog box and Trace Stop Trigger breakpoint dialog box, respectively.