O'Reilly logo

Mastering Xcode 4: Develop and Design by Joshua Nozzi

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

9. Basic Debugging and Analysis

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. In Chapter 17, you’ll learn more advanced debugging techniques.

Compile-Time Debugging

In Xcode, errors, warnings, and analyzer results are collectively called issues. Xcode is constantly compiling and checking your code for issues. Errors are red, warnings are yellow, and static analyzer issues are blue. Like any modern integrated development environment, Xcode flags issues by highlighting them directly in the source code (Figure 9.1) with a corresponding icon in the gutter along the left edge of the Source Editor. In ...

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