How to add Exception Breakpoint in Xcode?

Solution 1:

You can easily add Exception Breakpoint in Xcode. See below image:

enter image description here

Solution 2:

Here are the steps.

  • Move to "Breakpoint Navigator".

  • Click + symbol at bottom-left corner of navigator.

enter image description here

  • You should see this.

enter image description here

Solution 3:

Follow these steps:

  • In Xcode move to Breakpoint navigator (use command+8 in Xcode 11)
  • Click on the + option at the left bottom of the navigator and select Exception breakpoint.

Exception Breakpoint

  • An exception breakpoint will be immediately added to the Breakpoint list in the Breakpoint navigator
  • you can then edit additional Breakpoint Setting's as shown below.

Breakpoint settings