Debugging Cocoa

Debugging Autorelease is a great wiki entry at CocoaDev. EXC_BAD_ACCESS, meaning accessing an object you’ve already released (most likely) or have not yet instantiated (it happens) isn’t that fun to debug. Luckily, the NSZombie environment variable works when developing for iPhone as well, and I could find the error that had cost me most of my day. Yay! :-) Other good resources for debugging are Debugging Techniques and Mac OS X Debugging Magic

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
niklas

About niklas

Hi. I’m Niklas Saers, often called Nik, and this is my weblog. I make great iOS, Mac and Java software, play the recorder and enjoy life with my beautiful wife. You can learn more about me, view my résumé, or grab me via LinkedIn or Facebook. In addition to this site I am frequently posting thoughts on Twitter and photos on Flickr. You can read more about me and how to get in touch with me here.
This entry was posted in Technology. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>