Setting a Breakpoint in a Program
See Also
To set a line breakpoint:
-
Click the left margin of the line in the Source Editor or
press Ctrl-F8.
To set all other types of breakpoints:
-
Choose Debug > New Breakpoint (Ctrl-Shift-F8).
The New Breakpoint dialog box opens.
-
In the Breakpoint Type drop-down list, set the type to the
event on which you want to set a breakpoint..
- Specify the settings for the breakpoint. .
-
Set any additional options you require in the New Breakpoint
dialog box (click More to see breakpoint restrictions) and click OK.
-
The IDE creates the new breakpoint for the specified function.
To modify an existing breakpoint:
-
Choose Windows > Debugging > Breakpoints (Alt-Shift-5) to
open the Breakpoints window.
-
Right-click any breakpoint and choose Customize to open the
Customize Breakpoint dialog box.
-
Adjust any settings or actions you require and click OK.
The IDE updates the breakpoint
To enable and disable a breakpoint:
- Right-click the breakpoint in the Breakpoints window and choose
Enable or Disable.
Note:
-
You can modify and enable line breakpoints by right-clicking the
breakpoint icon in the left margin of the Source Editor and
choosing from the Breakpoint submenu.
Legal Notices