在Xcode 4 GM中,如何打开LLDB?我看到的都是GDB [英] In Xcode 4 GM, how do I turn on LLDB? All I see is GDB

查看:118
本文介绍了在Xcode 4 GM中,如何打开LLDB?我看到的都是GDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在方案运行调试器弹出窗口中,它显示的是无和GDB。这是一个用LLVM构建的iPad 4.2模拟器。

解决方案

你不能。以苹果员工的话来说,不列出iOS支援日期。 常见问题解答说:


问:LLDB目前支持哪些目标?

Mac OS X本机调试
用于i386和x86_64目标。


而关于LLDB的WWDC 2011会话(例如:321迁移到LLDB)并没有提及关于iOS设备的任何内容。


In the scheme run debugger popup, all it shows is 'None' and 'GDB'. This is for an iPad 4.2 simulator built with LLVM.

解决方案

You can't. In words of an Apple employee, LLDB is not available for iOS development yet. As of july 2011 it is unknown when LLDB will become available for iOS.

In Xcode 4.0.2 your only option is GDB. In Xcode 4.2 you have LLDB as an option, but you can't use it:

The LLDB project doesn't list a date for iOS support. The FAQ says:

Q: What targets does LLDB currently support?
Mac OS X native debugging for i386 and x86_64 targets.

And the WWDC 2011 sessions that talk about LLDB (eg: 321 Migrating to LLDB) don't mention anything about iOS devices.

这篇关于在Xcode 4 GM中,如何打开LLDB?我看到的都是GDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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