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
Follow Me
Follow me online and join a conversation