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

Done with Debugging

Using the GDB debugger in Xcode to hunt down your bugs will take a while to get used to if you haven’t used it before. After you get comfortable with it, though, your productivity will skyrocket because you won’t be adding and removing NSLog statements all over the place. That being said, you will find that sometimes using NSLog to debug is the most efficient option. When you do use it, remember the formatting tips and tricks you learned in this chapter to output any value in your application.
Next chapter, you will finally learn how to run Xcode apps on an iPhone or iPad.

The Least You Need to Know

• Debugging using GDB consists of setting breakpoints and stepping through code line by line.
• Get comfortable using GDB ...

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