Set Breakpoints Within Debug Pages

You can set breakpoints before you start a debug process, or within the pages for a debug process. For statement breakpoints, function breakpoints, and class breakpoints, you can set the breakpoint both before the debug process starts, and while the process is being debugged. Instruction breakpoints, watchpoints, and class instance breakpoints can only be set in a debug process.

The simplest way to set a statement breakpoint in a Source view is to position the cursor at that statement (by using the cursor keys or by clicking on the statement), then selecting the Set Breakpoint at Current Location toolbar button.

Otherwise, to set a breakpoint of any type within debug pages, follow these steps:

  1. In the view containing the object (statement, variable, function, disassembly instruction, class name, class instance) you want to set the breakpoint on, position the pointer over the object and click mouse button 2.
  2. If a choice to set the appropriate breakpoint or watchpoint is shown on the resulting popup menu, select that choice. Otherwise:
  3. Select the menu item that identifies the object; a cascading menu is displayed. If a breakpoint can be set for the object, a breakpoint or watchpoint menu choice appears. Select this.

Further information on setting specific types is available in the Procedures help for each type of breakpoint.



Types of Breakpoints


Enable, Disable, or Delete Breakpoints from the Breakpoints View
Set a Template Class Breakpoint
Set a Class Breakpoint
Set a Class Instance Breakpoint
Set a Function Breakpoint
Set a Statement Breakpoint
Set a Virtual Function Breakpoint
ngos2.gif (402 bytes)ngwin.gif (1069 bytes)Set a Watchpoint
Set an Instruction Breakpoint