O'Reilly logo

Mastering Xcode: Develop and Design, Second Edition by Joshua Nozzi, Maurice Kelly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Interactive Debugging

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required