Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

Breakpoints View

The Breakpoints view displays the breakpoints for the current project. You can remove, enable, or disable breakpoints from this view.

The Breakpoints view is structured hierarchically into three levels:

  1. The root level, or "All Breakpoints" level. If you disable, enable, remove this single entry, the change carries down to all breakpoints for the project. Restoring this breakpoint, restores all breakpoints to the default settings.
  2. The individual breakpoint level. Each entry at this level corresponds to a statement breakpoint, function breakpoint, entry point breakpoint, etc. for the current project, including any process running under debug control within the project, and any process started under debug control later. If you disable, enable, or delete this entry, the change affects all processes running under debug control for the current project.
  3. The process breakpoint level. Each entry at this level corresponds to a breakpoint set within the indicated process. If you disable, enable, or delete this entry, the change affects only that breakpoint in the indicated process.

The first individual breakpoint that is normally displayed is the Entry point breakpoint. This breakpoint causes execution of your program to stop at the start of the main function, whenever you start a process under debug control. If you accidentally remove this breakpoint, you can place a statement breakpoint at the opening brace of the main function, or a function breakpoint on main itself.

Enabled breakpoints are indicated by a red octagon, because they cause execution to stop. Disabled breakpoints are indicated by a green octagon, because they allow execution to continue past the breakpoint without stopping.

If you want help on another aspect of the IDE interface, more IDE interface help is available.



Types of Breakpoints


Set a Statement Breakpoint
Set a Function Breakpoint
Set a Virtual Function Breakpoint
Set a Template Class Breakpoint
Set a Class Breakpoint
Set a Class Instance Breakpoint
Set an Instruction Breakpoint
ngos2.gif (402 bytes)ngwin.gif (1069 bytes)Set a Watchpoint
Enable Breakpoints That Have Been Disabled
Disable Breakpoints
Remove Breakpoints


Tree Structure of the Breakpoints View