Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Timer Stop breakpoints dialog box

In this section:

The Timer Stop dialog box is available from the context menu that appears when you right-click in the Breakpoints window.

BreakpointTimerStopDlg_RH850.png

Use this dialog box to set a Timer Stop breakpoint where you want to stop a timer that measures the execution time between two execution points. You must also set a Timer Start breakpoint where you want the timer to start. The executed time is displayed in the Debug Log window.

See also Timer Start breakpoints dialog box.

To set a Timer Stop breakpoint:
  1. In the editor or Disassembly window, right-click and choose Timer Stop from the context menu. Note that when you set a breakpoint this way, the timer number is always set to 1. You can change the timer number in the Timer Stop breakpoint dialog box.

    Alternatively, open the Breakpoints window by choosing View>Breakpoints.

  2. In the Breakpoints window, right-click and choose New Breakpoint>Timer Stop.

    Alternatively, to modify an existing breakpoint, select a breakpoint in the Breakpoints window and choose Edit on the context menu.

  3. In the Break At text box, specify an expression, an absolute address, or a source location.

  4. In the Timer number text box, specify which timer the breakpoint will stop. Click OK.

  5. When the breakpoint is triggered, the timer with the specified number stops.