You use a breakpoint to halt program execution on a particular line of source code. Once execution halts, you can examine your program's current state and check register and variable values. You can also change these values and alter the flow of normal program execution. Setting breakpoints helps you debug your program and verify its efficiency.
The types of breakpoints are:
- Regular - Halts the program execution.
- Conditional - Halts the program execution when a specified condition is met.
- Special - Halts the program execution and then removes the breakpoint that caused the halt.
Breakpoints have
enabled and
disabled states. The following table defines these states.
Table 1. Breakpoint states| State |
Icon |
Description |
| Enabled |
 |
Indicates that the breakpoint is currently enabled. The debugger halts the program execution at an enabled breakpoint. Click the icon to disable the breakpoint. |
| Disabled |
 |
Indicates that the breakpoint is currently disabled. The debugger does not halt program execution at a disabled breakpoint. Click the icon to enable the breakpoint. |