In Xcode 9 and Swift 4:
Print exception stack to know the reason of the exception:
- Go to show break point navigator.
-
Add (+) Add Exception Breakpoint.
-
Select the new breakpoint, Control-Click, Edit Breakpoint.
- Add Action and Enter: po $arg1
In Xcode 9 and Swift 4:
Print exception stack to know the reason of the exception:
Add (+) Add Exception Breakpoint.
Select the new breakpoint, Control-Click, Edit Breakpoint.