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:
Further information on setting specific types is available in the Procedures help for each type of breakpoint.
![]()
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
![]()
Set a Watchpoint
Set an Instruction Breakpoint
