Get Updates By E-mail 

Article Written By:
Johann Dowa

Tutorial: Objective-C Debugging Basics With Xcode 4

  •  
  •  
  •  
  •  
  •  

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments