Unified Contacts

14 April, 2014

How to check where is the exception thrown

Sometimes when the exception thrown. Xcode just shows the memory status, but not exactly the line of code. If you want to see where is the exception thrown. You can add a exception breakpoint.



1. click the breakpoint tap on the left side navigators window.






2. on the left bottom, click the + button and then click "Add Exception Breakpoint".


3. now, when exception is thrown, Xcode will show which code has a problem.


No comments:

Post a Comment