November 2013
Intermediate to advanced
576 pages
19h 3m
English
Xcode features two debuggers, gdb debugger (GNU Debugger) and LLDB. The debugger can be accessed anytime code execution is currently paused. A gdb or an lldb prompt will appear at the bottom of the console window. Although both debuggers are very large and complex systems, there are several commands that are important for the iOS developer to be familiar with. Apple has begun recommending that LLDB be used for all new projects.
Note
As of Xcode 5, gdb is no longer available and projects will automatically be converted to LLDB if they were set to use gdb from earlier versions of Xcode.
Note
To change the debugger that is being used, edit the scheme for the target that is being executed. This menu can be accessed ...
Read now
Unlock full access