Chapter 9. Debugging Your Applications
Xcode provides a comprehensive set of well-integrated tools to approach the tasks of debugging and analyzing your applications. In this chapter, you’ll learn how to use Xcode’s built-in debugger and static analyzer. In Chapter 15, you’ll learn more advanced debugging techniques.
For runtime debugging, Xcode now integrates the LLDB debugger by default. This replaces the Gnu Debugger (GDB), which will be deprecated in future versions of the tool chain, though it is still available for die-hard fans and is configured through the build system (see Chapter 13). Xcode provides a UI for managing breakpoints, controlling program execution, exploring the threads and stacks of the running application, ...