- On the main menu, choose , or press ⇧⌘F8 or ⇧⌘F8⇧⌘F8 or ⇧⌘F8⇧⌘F8 or ⇧⌘F8⌥ F9, ⌥F9 or ⌥F9^ ⇧ F8, ⌃⇧F8 or ⌃⇧F8.
- In the Breakpoints dialog box that opens, click
. - Select Java Exception Breakpoints or JavaScript Exception Breakpoint from the drop-down list.
-
In the Choose Exception Class dialog box, specify the desired
exception class from the library, or from the project, and click OK.
IntelliJ IDEA returns you to the Breakpoints dialog box.
- Configure the new exception breakpoint as described in Configuring Breakpoints.