27. Debugging

Debugging is intrinsic to the development process. The first parts of this book tell the story of a development process, and basic debugging techniques followed naturally. In this chapter, I want to call out a few subjects to provide you with a better grasp of how you can get the most out of the Xcode debugger and the lldb debugging system that underlies it.

We’ll take a look at the Run action in a build scheme and how it sets the conditions for your debugging session. Then, I’ll help you build the skills to make breakpoints more than mere stopping places. And we’ll have a look at the command line for the lldb debugger, as it’s used both in the Terminal and in the debugger console. Finally, a few short tips and techniques.

Scheme ...

Get Xcode 6 Start to Finish: iOS and OS X Development, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.