Coding in Objective-C 2.0 Episode 3: Debugging

Posted in Companies, Operating Systems, Mobile on March 19, 2009

Coding in Objective-C 2.0 Episode 3: Debugging

Bugs happen, even in Objective-C programs. You’ll want to find and fix them as quickly as possible. Thankfully, Xcode has a powerful debugger. In this episode, we’ll explore the various features and commands of the debugger, use it to find a bug, and wrap up with remote debugging. You’ll learn how to:

  • Use the debugger to find and squash bugs
  • Set breakpoints, and disable them for quicker debug cycles
  • Navigate your program with debugger controls
  • Inspect and change program state on the fly
  • Edit breakpoints to conditionally stop or run arbitrary actions
  • Use common GDB commands for more convenient debugging
  • Debug an iPhone or iPod Touch application remotely
  • Other expert debugging tips and tricks!

Watch Video

Tags: Apple, OS, MacOS, Objective-C, iPhone, The Pragmatic Programmers, GUI, Xcode, Coding in Objective-C 2.0