In the past I have posted several resources to help with debugging on the iOS platform including a great library for debugging user interfaces, and a guide to finding memory leaks with Instruments.
What I haven’t mentioned before is a guide on diagnosing those common undefined Objective-C errors characterized by the annoying EXC_BAD_ACCESS messages that works with the debugger in Xcode 4.
Matthijs Hollemans has written a great guide where he debugs an example project using the debugger in Xcode 4 covering how to set up breakpoints, analyze memory contents, use assertions, stepping through an app, and more.
You can find the debugging guide in 2 parts here: Part 1, Part 2.
Great stuff if you’re new to Objective-C development with Xcode, or struggling to find where all the basic debugging tools are in Xcode 4 vs Xcode 3.
Added to the Xcode 4 tutorial page.
©2012 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.






