On Mar 5, 2010, at 1:53 PM, Kyle Sluder wrote:

> You have a memory management bug somewhere, most likely in your
> validation method. Turn on zombies, run in Instruments, and find out
> where.

If you’re using Xcode 3.2 or later, even before setting NSZombieEnabled and 
running in Instruments, you can use “Build & Analyze” to run the clang static 
analyzer against your code.

Among other checks, the static analyzer understands and can validate Cocoa 
memory management and catch both over-releases and leaks.

  — Chris

_______________________________________________

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