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

GDB

If you have programmed in C or C++, you likely already know GDB, one of the most widely used debuggers. You may also know how to use the GDB command-line interface inside and out, in which case this part of the chapter will be very familiar to you. However, it will be assumed you have never heard of GDB and may not know how to use a debugger. Even if you know GDB, it’s worth paying attention here to see how to use the GDB interface in Xcode.
A debugger is a tool used to step through your code line by line and inspect values in your application at runtime. You set breakpoints in your source code, and when you run it in the debugger, your application stops at these points. When your app is stopped at a breakpoint, you can step over a line ...

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