开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜