XCode 4.3.2不会附加到调试器 [英] XCode 4.3.2 Won't attach to debugger

查看:76
本文介绍了XCode 4.3.2不会附加到调试器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我终于升级到Lion(从SL& Xcode 4.2).我现在正在跑步:

I finally upgraded to Lion (from SL & Xcode 4.2). I am now running:

  • 当前的Lion 10.7.3
  • 当前的Xcode 4.3.2
  • 已安装当前模拟器5.1、5.0和4.3.

我已经远离当前的生产应用程序,并创建了一个简单的单视图通用hello world应用程序,以尝试使某种形式的模拟器调试工作.

I've backed way off from my current production apps, and created a simple single view universal hello world app, to try to get some form of simulator debugging working.

使用新的简单应用程序,我仍然可以在设备上进行调试,但不能在已安装的任何模拟器上进行调试.它会启动模拟器,最终安装被测试的应用程序,但永远不会附加到该应用程序上,并且该应用程序永远不会通过启动映像进行进度. (请注意,我可以从模拟器中启动该应用程序...因此,它确实可以正确构建和安装,尽管花费的时间比我使用SL& 4.2时要长一些)

With my new simple app, I CAN still debug on device, but NOT on any simulator I have installed. It launches the simulator, eventually installs the app under test, but never attaches to it, and the app never progresses pass the launch image. (One note, I can launch the app from the simulator... so, it did get built and installed correctly, although took a bit longer than I was used to with SL & 4.2)

Xcode只是坐在那里等待连接.令人担忧的是,我根本无法停止此操作(停止按钮,尝试关闭项目,停止任务),必须强制退出Xcode.

Xcode just sits there waiting to connect. The worrisome part is that I can't stop this (stop button, try to close the project, stopping the task) at all, and must force-quit Xcode.

有人知道发生了什么吗?任何帮助将不胜感激!

Does anyone have any idea what is going on? Any help would be so greatly appreciated!!

-eric

推荐答案

通过编辑方案,将调试选项从LLDB更改为GDB. 另请参见 http: //vandadnp.wordpress.com/2012/03/18/xcode-4-3-1-cannot-attach-to-ios-simulator/

Change the debug option from LLDB to GDB by editing the scheme. see also http://vandadnp.wordpress.com/2012/03/18/xcode-4-3-1-cannot-attach-to-ios-simulator/

我希望这可以为您提供帮助.

I hope this could help you.

这篇关于XCode 4.3.2不会附加到调试器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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