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