Tuesday, June 30, 2015 [Tweets] [Favorites]

Debugging Exceptions in Xcode

Natasha Murashev:

Just type po $arg1 into the debug area to get the human-readable version of the error (in this case, the nib is invalid) […] Finally, you can add the po $arg1 command to your Exception Breakpoint so it’s just automatic.

Whereas, otherwise Swift will crash with no useful information when there’s an uncaught exception.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment