Adding and removing breakpoints

 

To add a breakpoint to the  program, double-click the margin of the necessary line in the code editor:

 

 

You can also add breakpoints from the context menu of the code editor - by clicking Toggle Breakpoint:

 

 

After that, the breakpoint will appear in the margin of the selected line.

 

In the Breakpoint View, you can add Line, Function and Event breakpoints for C/C++ programs  from the Breakpoints view drop-down menu:

 

 

Read more about these options  here.

 

To remove a breakpoint  in the code editor, double-click it or chose Toggle Breakpoint in the context menu:

 

 

You can also remove one, several, or all breakpoints in the Breakpoint view by pressing the buttons Remove Selected Breakpoints or Remove All Breakpoints :

 

 

 

Related articles:

Debug perspective

Debugging

Breakpoints

Enable /Disable breakpoints

Breakpoint properties