Enabling Breakpoints

Enable a breakpoint to have it halt program execution at the specific line in the source file. You can set a breakpoint using the Breakpoints, Disassembly, or editor views. An enabled breakpoint must still be resolved during a debug session before it can halt program execution. Enabling a breakpoint that you previously disabled is easier than clearing it and re-creating it from scratch.

Figure 1 shows some source code and the selected line shows the breakpoint icon that appears in the marker bar when a breakpoint is enabled.

Figure 1 - Enabling breakpoint

Enabling a Breakpoint

or

If the source line has a breakpoint, the disabled breakpoint dot () changes to an enabled breakpoint dot (). The enabled breakpoint indicates that the breakpoint, if resolved, will halt program execution.

For more information on breakpoints, see C/C++ Development User Guide > Concepts > Debug > Breakpoints.

Related concepts
Related tasks
Related references