O'Reilly logo

Xcode 4 iOS Development by Steven F. Daniel

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 8. Debugging Xcode Projects

In this chapter, we will look at how we go about debugging our projects through the use of the various debugging tools that Xcode provides.

We will look at the following methods to debug code:

  • Fix-it, which corrects code as you type and provides you with some great coding alternatives
  • Static Analysis, which shows you potential coding errors, that is, memory leaks and dead or unreachable code

In this chapter, we will be covering the following topics:

  • Introducing the new and improved debugger
  • Creating, running, and debugging projects
  • Setting up project schemes using the Scheme Editor
  • Navigating through threads and stacks within the Debugger
  • Finding potential coding errors by using Fix-it and the Static Analyzer

We have ...

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