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

问题描述

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

解决方案

你不能。以苹果员工的话来说,不列出iOS支援日期。 说:

而关于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:

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 15:53