应用程序总是在 Xcode 4.2 上的调试器中暂停

发布于 2025-01-04 18:58:36 字数 220 浏览 5 评论 0原文

经过一些编码中断后,我刚刚迁移到 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

无所谓啦 2025-01-11 18:58:36

听起来像是一场不明原因的崩溃。尝试添加以下符号断点来帮助您了解问题的根源:

[NSException raise]
objc_exception_throw
malloc_error_break

Sounds like a crash of unknown origin. Try adding the following symbolic breakpoints to help you get to the bottom of this:

[NSException raise]
objc_exception_throw
malloc_error_break
甜宝宝 2025-01-11 18:58:36

你的问题听起来有点不同(我的问题发生在大量使用后),但我在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文