Xcode crash at breakpoint

August 22, 2015

Xcode crash at breakpoint

Sometimes, and I mean really rare, you are not able to debug you app due to Xcode crash whenever you hit a breakpoint. Xcode crash at breakpoint might have numerous reasons, though I have found a specific one, that is quite easy to fix (after I spent 1 hour figuring out how to actually fix it).

Xcode crash at breakpoint

In case you see this screen right before your Xcode crashes - you are lucky and my fix might save you. All you need to do is open this window and in the Project Navigator, select any file that you want, so that instead of that white blank view you would get your code. After this you are most likely will be able to successfully stop your app at your breakpoint and perform the debug.

I am not sure why this happens, but I suspect that the reason is Debug View Hierarchy mode, which you might have triggered prior to setting you breakpoint and trying to stop at it. At least this is when it happens to me.

Comments

comments powered by Disqus