PyCharm 2018.1 Help

Creating Exception Breakpoints

  1. On the main menu, choose Run | View Breakpoints, or press Ctrl+Shift+F8.
  2. In the Breakpoints dialog box that opens, click new.
  3. Select Python Exception Breakpoint or JavaScript Exception Breakpoint from the drop-down list.
    py create exception breakpoint
  4. In the Choose Exception Class dialog box, specify the desired exception class from the library, or from the project, and click OK.

    PyCharm returns you to the Breakpoints dialog box.

  5. Configure the new exception breakpoint as described in Configuring Breakpoints.
Last modified: 19 June 2018

See Also