I am trying to create a simple Cocoa app that has an intentional memory leak so that I can play with the development tools Instruments, MallocDebug and leaks to learn how to detect memory leaks. I have a Cocoa console application that has code that I was sure would leak - [NSNumber alloc] with no corresponding release. But when I run those tools I detect no leak.
I would appreciate suggestions on code or examples on how to purposely create a memory leak and on how to properly use these tools to detect them. I have read the documentation and believe I am following instructions but I must have missed something. _______________________________________________ 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 [EMAIL PROTECTED]