Technical Q&A: Finding EXC_BAD_ACCESS bugs in a Cocoa project

Technical Q&A: Finding EXC_BAD_ACCESS bugs in a Cocoa project:

QA1367: Discusses how to find memory protection violations or EXC_BAD_ACCESS bugs in Cocoa projects.

ok now this is a good start, ok not really that helpful. Really all is says is that if you get this then you lost track of your reference counting, but doesn’t really help you find it, just how to avoid it. So if it is too late what do you do, CocoaDev.com to the rescue.Debugging Autorelease. This has saved my sorry reference mis-counting butt more then once.

(Via Apple Developer Connection Cocoa Headlines.)

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>