当调试器设置为LLDB时,Xcode 4在附加到(App名称)时挂起 [英] Xcode 4 hangs on attaching to (App name) when debugger is set to LLDB

查看:176
本文介绍了当调试器设置为LLDB时,Xcode 4在附加到(App名称)时挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在模拟器中运行应用程序时,Xcode挂起到附加到(应用程序名称),但这只有在调试器设置为LLDB时才会发生。当调试器设置为GDB时,应用程序运行正常(产品 - >编辑方案 - >运行 - >调试器)
如何在没有Xcode挂在附加到(应用程序名称)的情况下修复此问题以进行LLDB调试? / p>

When I run a app in the simulator the Xcode hangs on Attaching to (App name), but this only happens when the debugger is set to LLDB. The app runs fine when the debugger is set to GDB (Product->Edit Scheme -> Run -> Debugger) How can I fix this to debug with LLDB without the Xcode hanging at Attaching to (App name)?

推荐答案

我发现这种情况时常发生,但通常会重新启动模拟器或设备,重新启动XCode并清理你的派生数据目录可以解决问题。

I've found this happens from time to time, but generally restarting either the simulator or the device, restarting XCode and cleaning your derived data directory does the trick.

这篇关于当调试器设置为LLDB时,Xcode 4在附加到(App名称)时挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆