iPhone simulator minimizes the application
I'm debugging my app with the simulator. And for some moment in concrete situation the app gets mimimized. I think there is some 开发者_如何学运维problem in my code (Most likely some variable is not initialized, because sometimes everything works) . But how can I catch this moment.
In xcode is still written that the program is running and I can put breakpoints and the will trigger.
And if i will reopen my application it will continue working... When using device the are no problems too...
How can i catch this moment and pause the program to view a callstack.
EDIT
I Think the problem is here: Objective-c singleton object does not working as expected
You could try catching it in the - (void)applicationDidEnterBackground:(UIApplication *)application
-methode in the app delegate, at least then you will see specifically when it happens.
精彩评论