当调试器设置为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.