Skip to main content

IAR Embedded Workbench for RL78 5.20

Setting breakpoints using the dialog box

In this section:

The advantage of using a breakpoint dialog box is that it provides you with a graphical interface where you can interactively fine-tune the characteristics of the breakpoints. You can set the options and quickly test whether the breakpoint works according to your intentions.

All breakpoints you define using a breakpoint dialog box are preserved between debug sessions.

You can open the dialog box from the context menu available in the editor window, Breakpoints window, and in the Disassembly window.

To set a new breakpoint:
  1. Choose View>Breakpoints to open the Breakpoints window.

  2. In the Breakpoints window, right-click, and choose New Breakpoint from the context menu.

  3. On the submenu, choose the breakpoint type you want to set. Depending on the C-SPY driver you are using, different breakpoint types are available.

  4. In the breakpoint dialog box that appears, specify the breakpoint settings and click OK.

    The breakpoint is displayed in the Breakpoints window.

To modify an existing breakpoint:
  1. In the Breakpoints window, editor window, or in the Disassembly window, select the breakpoint you want to modify and right-click to open the context menu.

    SettingBptViaContextMenu_Mym85_03.png

    If there are several breakpoints on the same source code line, the breakpoints will be listed on a submenu.

  2. On the context menu, choose the appropriate command.

  3. In the breakpoint dialog box that appears, specify the breakpoint settings and click OK.

    The breakpoint is displayed in the Breakpoints window.