应用程序总是在 Xcode 4.2 上的调试器中暂停
经过一些编码中断后,我刚刚迁移到 Xcode 4.2。
当“运行”我的应用程序时,它似乎总是在加载到模拟器/设备后立即暂停。 我无法进行任何交互,它只是挂在
int retVal = UIApplicationMain(argc, argv, nil, nil);
线程 1 上。
我使用了 google,但找不到正确的答案。
I just migrated to Xcode 4.2 after a little coding break.
When 'Run'ing my app, it seems always to pause straigt after it has been loaded in the simulator/device.
I can't do any interaction, it just hangs at
int retVal = UIApplicationMain(argc, argv, nil, nil);
with thread 1.
I used google, but couldnt find the right answer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
听起来像是一场不明原因的崩溃。尝试添加以下符号断点来帮助您了解问题的根源:
Sounds like a crash of unknown origin. Try adding the following symbolic breakpoints to help you get to the bottom of this:
你的问题听起来有点不同(我的问题发生在大量使用后),但我在 Xcode 4 中也有类似的行为,我的应用程序崩溃并且调试器中没有显示任何信息(只是说“已暂停”)。事实证明,当应用程序因使用过多内存而被抛弃时,就会发生这种情况。您可以找到 LowMemory 报告来验证这一点。
Your issue sounds a bit different (mine happens after heavy use) but I've had a similar behavior in Xcode 4 where my app crashes and no information is displayed in the debugger (just says Paused). It turns out that this can happen when the app is jettisoned for using too much memory. You can find a LowMemory report to verify this.