O'Reilly logo

iOS 8 SDK Development, 2nd Edition by Janie Clayton, Chris Adamson

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 14Debugging Apps

Congratulations! We have completed all the code for our app. Now we can get started on the real work we will be doing as a developer: debugging.

Bugs happen. Even the most awesome rock-star programmer writes bugs. In truth, developers spend only a fraction of their time writing code. A lot more time is taken up by debugging that code. So one of the single biggest favors we can do for ourselves is to become fast and efficient debuggers.

In this chapter you’ll learn about several methods for debugging, starting with the most basic one, println. We’ll cover the various kinds of breakpoints, and then we’ll take a nickel tour of LLDB, Xcode’s default debugger. You will learn how to print to the console using a breakpoint ...

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