Add, remove, disable, and enable breakpoints in your code

In the source editor, add breakpoints to your code so you can pause at known points while debugging and inspect the values of variables.

Add a breakpoint: Click the gutter next to the line where you want execution to pause.

Move a breakpoint: Click a breakpoint and drag it to a new location in the gutter.

Disable or enable a breakpoint: Click the breakpoint icon in the gutter. A disabled breakpoint appears lighter in color and remains in your project, but is ignored during debugging.

Deactivate all breakpoints: Choose Debug > Deactivate Breakpoints. Breakpoints appear gray in color when deactivated, and are ignored during debugging.

Activate all breakpoints: Choose Debug > Activate Breakpoints.

Remove a breakpoint: Click the breakpoint and drag it out of the gutter.

Tip: You can use the Breakpoint navigator to manage all of the breakpoints in your project.

SEE ALSONavigate and manage breakpoints