In Xcode 4 GM, how do I turn on LLDB? All I see is GDB

user51511 picture user51511 · Feb 5, 2011 · Viewed 9.5k times · Source

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

Answer

Jano picture Jano · Mar 12, 2011

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: enter image description here

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.