Skip to main content

IAR Embedded Workbench for RL78 5.20

Trace data collection using events

In this section:

For the E1, E2, E2 Lite/E2 On-Board, EZ-CUBE2, and COM Port emulators, you can specify dedicated start and stop events to collect trace data between two execution points.

Setting start and stop events:
  1. Choose Emulator>Edit Events and create your start and stop events.

  2. Choose Emulator>Trace Setup and select Section trace, then select the start and stop events you just created.

  3. Open the Trace window—available from the driver-specific menu—and click activateButton.png the Activate button to enable collecting trace data.

  4. Start the execution. When the execution stops, for instance because a breakpoint is triggered, trace data is displayed in the Trace window. For more information about the window, see Trace window.