HP WDB GUI 5.7 Reference Manual (September 2007)
Debugging with WDB GUI
Using Breakpoints
Chapter 334
• Right-click in either the Source or Disassembly view, and on the pop-up menu, click Insert
Breakpoint.
• Or, click the toolbar button.
Inserting breakpoints
To insert a breakpoint
1. On the left side of the text in the Source or Disassembly view, place your cursor at the line
where you want to insert a breakpoint.
2. Click M1. A breakpoint marker (a solid red octagon) appears in the left margin of the view,
indicating that the breakpoint is set.
Or
1. In the text column of the Source or Disassembly view, place your cursor where you want to
insert a breakpoint.
2. Right-click and click Insert Breakpoint. A breakpoint marker (a solid red octagon)
appears in the left margin of the view, indicating that the breakpoint is set.
NOTE You may set a breakpoint in a file that is part of your executable but is not
located in the source paths that you have specified. Add the appropriate source
path in the Source File Paths dialog box.
Removing breakpoints
1. In the Source or Disassembly view, place your cursor on the breakpoint symbol for the
breakpoint you want to remove.
2. Click M1 to remove the breakpoint.
Or
1. On the Edit menu, click Breakpoints.
2. From the Breakpoints list in the Breakpoints dialog box, select the breakpoint you want to
remove.
3. Click Remove. The selected breakpoint disappears from the list. To remove all the
breakpoints that you have set, click Remove All.