O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

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 20
Debugging in Detail
In This Chapter
• Debugging with GDB
• Breakpoints
• Using GDB in Xcode
• Debugging with NSLog
You know the feeling. You have just put the finishing touches on what has to be the most elegant, succinct, beautiful piece of code you (or the world?) have ever seen. Running the code is just a formality—completely unnecessary—because you accounted for every branch, every input, every conceivable value that could find its way into your system. Obviously, no one who knew the extent of your efforts could possibly doubt the brilliant masterpiece you just produced.
But then you compile. Looks like there are errors and warnings in several places. After an hour, you finally get a clean build. Then you run the app, ...

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