Intel® System Debugger User Guide

ID 648476
Date 06/13/2024
Confidential
Document Table of Contents

Setting a Breakpoint on an Instruction Address

To set an address breakpoint on an assembler instruction, halt the target and double-click the marker bar located in the left margin in the Disassembly view. A new software breakpoint is created by default and displayed in the Breakpoints view. You can also see information about a particular breakpoint by hovering over its icon in the beginning of a corresponding code line.

Alternatively, follow these steps to set an address breakpoint:

  1. Halt the target by pressing the suspend Suspend button.

  2. In the Breakpoints view, click the add Add Breakpoint button.

    add_dp_button

    Alternatively, click view_menu View Menu and select add Add System Debug Breakpoint.

    add_sysdbg_bp

  3. In the opened dialog box, select the Instruction Breakpoint radio button and specify the breakpoint address.

  4. Choose the breakpoint type: software or hardware.

  5. Click Ok.

See an example of an instruction breakpoint below:

instr_bp

Now you can resume the target and see how your breakpoints work. When (or if) the breakpoint is hit, the target gets halted.

You can make jump to the specified address in the Disassembly view. To do it, right-click the address breakpoint in the Breakpoints view and select disassembly_viewGo to Disassembly. The Disassembly view is refreshed and the specified address is displayed at the top.