PyCharm 2016.3 Help

Enabling, Disabling and Removing Breakpoints

On this page:

Toggling between the enabled and disabled state of a breakpoint

When you temporarily disable or enable a breakpoint, its icon changes from /help/img/idea/2016.3/db_set_breakpoint.png to /help/img/idea/2016.3/disabled_breakpoint.png and vice versa.

  1. Place the caret at the desired line with a breakpoint.
  2. Do one of the following:
    • On the main menu, choose Run | Toggle Breakpoint Enabled:
      breakpointDisable.png
    • Right-click the desired breakpoint icon, select or deselect the <breakpoint name> enabled check box, and then clickDone.
      py_breakpointDisable1
    • Alt -click on the breakpoint icon.

Disabling a breakpoint temporarily in the editor

When you temporarily disable a breakpoint, its icon changes from /help/img/idea/2016.3/db_set_breakpoint.png to /help/img/idea/2016.3/disabled_breakpoint.png.

Alternatively, open the Breakpoints dialog box, as described on page Accessing Breakpoint Properties, select the desired breakpoint, and clear the check box next to it or the Line <line number> in <file name> check box in the right-hand pane.

Enabling a temporarily disabled breakpoint in the editor

When you enable a temporarily disabled breakpoint, its icon changes from /help/img/idea/2016.3/disabled_breakpoint.png to /help/img/idea/2016.3/db_set_breakpoint.png.

  1. Place the caret at the desired line with a breakpoint.
  2. Do one of the following:
    • Right-click the desired breakpoint icon, select the Line <line number> in <file name> check box in the pop-up dialog box that opens, and then clickDone.
    • With the Alt key pressed, click the breakpoint icon.

Alternatively, open the Breakpoints dialog box, as described on page Accessing Breakpoint Properties, select the desired breakpoint, and select the check box next to it or the Line <line number> in <file name> check box in the right-hand pane.

Removing a breakpoint

To remove a breakpoint permanently, do one of the following:

Removing all breakpoints of a certain type

  1. On the main menu, chooseRun | View Breakpoints, or pressCtrl+Shift+F8.
  2. In the Breakpoints dialog, press the left arrow key to select the desired category.
  3. PressDelete.

All breakpoints of a certain type will be deleted.

See Also

Last modified: 23 December 2016