hyouuu
hyouuu

Reputation: 2491

When only "All Exceptions" breakpoint is set, Xcode 7 always stop on app start

It's been bothering me since Xcode 6, that whenever I set 'All Exceptions' without any other breakpoints, Xcode would stop at start when I init a UILabel view wrapper in RootVC.

If I try to remove the causing line, another "random" line would trigger it again. Thoughts on what caused the exceptionenter image description here?

Screenshot

Screenshot

Upvotes: 5

Views: 1593

Answers (1)

HelloWorld
HelloWorld

Reputation: 1863

This breakpoint comes from an exception that was thrown by TFileDescriptorContext. All Exceptions halts also on C++ exceptions.

It gives you a good indication where the problem comes from. Take a look if all fonts that are listed in Info.plist are part of your application bundle.

"Normally" you are not interested in C++ exceptions when you are in Objective-C, so feel free to ignore them.

Edit: This problem has been discussed several times here on SO. Updating when I can find the posts again which might give you even a deeper insight.

Upvotes: 7

Related Questions