You can set most types of breakpoints in a project before you even start debugging, for example as soon as you have written the code for a function and have rebuilt the project. When you start a debug process for the project, these breakpoints affect that process. Note that an entry point breakpoint is automatically set at the entry point to the main function of your executable.
To set a breakpoint before debugging, do the following:
Note that class instance breakpoints and watchpoints cannot be set before starting a debug session.
Each breakpoint is enabled when you set it, even when you have disabled the "All breakpoints" breakpoint in a Breakpoints view.
Further information on setting specific types is available in the Procedures help for each type of breakpoint.
![]()
Debugging in the VisualAge Integrated Development
Environment
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
![]()
Set a Watchpoint
Set an Instruction Breakpoint
