Breakpoints
Set line breakpoint: Ctrl09
Breakpoints are special markers that suspend program execution at a specific point. This lets you examine the program state and behavior.
tip
For a hands-on example of how breakpoints work, we recommend following the Debugging quickstart tutorial.
The following types of breakpoints are available in JetBrains Fleet:
Line breakpoints: suspend the program upon reaching the line of code where the breakpoint was set. This type of breakpoints can be set on any executable line of code.
Exception breakpoints: suspend the program when
panic()
is thrown. They apply globally to the exception condition and do not require a particular source code reference.
On the following screenshot, main.go:8
is a line breakpoint, Go | Fatal error
is an exception breakpoint.

Click the gutter at the executable line of code where you want to set the breakpoint.
A red circle in the gutter means that the breakpoint is active, and the application will suspend upon hitting it.
If a breakpoint is marked with a grey circle, it means that the breakpoint is inactive. This may happen when:
The corresponding lines are not executable code (for example, comments or blank lines)
Smart Mode is off
The breakpoint is disabled
note
If a file with breakpoints was modified externally, for example, updated through a VCS or changed in an external editor, and the line numbers have changed, breakpoints will be moved accordingly. Note that JetBrains Fleet must be running when such changes are made, otherwise they will pass unnoticed.
Press CtrlShift0K and start typing
Breakpoints
. Select Breakpoints.Click the Add icon under Exception Breakoints
Enter the name of the exception, on which you want to suspend the application, or select it from the suggestion list. The exception suggestions only appear when the Smart Mode is on.
You can review and manage the breakpoints in the workspace in the Breakpoints tool.
Press CtrlShift0K and start typing
Breakpoints
. Select Breakpoints.
In the Breakpoints tool, click the checkbox against the breakpoint you want to disable.
It then stays in the project for future use, however it will not suspend the application when hit.
In the Breakpoints tool, right-click the breakpoint you want to remove, then select Delete breakpoint. Alternatively, select the breakpoint and press Backspace
This permanently removes the breakpoint from the workspace.
Thanks for your feedback!