Look at Valgrind - it works on the Mac now. What you do is have a demo app or even a GUI that launches, runs, then quits. You enter your app and args as arguments to valgrind when you run it.

Valgrind monitors every malloc, and when the app/program quits tells you not only what leaks you have, but the stack trace that got you to the allocation. Absolutely amazing. I've used it with several open source libraries I support.

David

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to