# Breakpoints

A breakpoint suspends the execution of a thread at the location where the breakpoint is set. To set a breakpoint, right-click in the frame on the left side of an editor beside the line where you want the breakpoint, then choose Add Breakpoint.

Once set, a breakpoint can be enabled and disabled by right-clicking on its icon or by right-clicking on its description in the Breakpoints view.

- When a breakpoint is enabled, it causes a thread to suspend whenever it is hit. Enabled breakpoints are indicated with a blue circle. Enabled breakpoints that are successfully installed are indicated with a checkmark overlay.
- When a breakpoint is disabled, it will not cause threads to suspend. Disabled breakpoints are indicated with a white circle.

Debugging breakpoints are displayed in the marker bar in the editor area and in the Breakpoints view.

Note: Execution will also suspend if Stop at main() on startup is enabled on the Launch Configuration dialog. To access the Launch Configuration dialog, from the menu bar choose Run > Debug.

Run menu
Breakpoints view