Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Timer Start breakpoints dialog box

In this section:

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

BreakpointTimerStartDlg_RH850.png

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

See also Timer Stop breakpoints dialog box.

To set a Timer Start breakpoint:
  1. In the editor or Disassembly window, right-click and choose Timer Start 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 Start breakpoint dialog box.

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

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

    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 start. Click OK.

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