On Fri, Mar 19, 2010 at 11:00 AM, Nick Zitzmann <n...@chronosnet.com> wrote:
> Run your app with Instruments with the object alloc tool, and turn on 
> reference counting and zombies. And hope your app doesn't run out of memory 
> before catching the double-free.

You can also try turning on Guard Malloc.  That is a menu option in
Xcode, and can also be enabled on the command-line for programs that
aren't run within Xcode.

What Guard Malloc could do for you is catch the use of memory which
has been freed.  Just using freed memory is likely to occur before
your attempt to free it a second time, and so is more likely to be
closer to the original release.

Don Quixote
-- 
Don Quixote de la Mancha
quix...@dulcineatech.com
http://www.dulcineatech.com

   Dulcinea Technologies Corporation: Software of Elegance and Beauty.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to