- On the main menu, choose , or press Ctrl+Shift+F8.
-
In the Breakpoints dialog box that opens, click
.
-
Select Python Exception Breakpoints
from the drop-down list.

- In the Select Exception Class dialog box, specify the desired exception class from the library, or from the project, and click OK.