Re: valgrind-3.5.0 is available (Mac OS X support)
Re: valgrind-3.5.0 is available (Mac OS X support)
- Subject: Re: valgrind-3.5.0 is available (Mac OS X support)
- From: David Hoerl <email@hidden>
- Date: Fri, 21 Aug 2009 11:44:25 -0400
I had never even heard of valgrind until a few months ago, when a
colleague told me of its wonders.
I have used it many times in the past few months with C/C++ command
line tools, and it's worked miracles.
In regards to memory use, it monitors every malloc and free, and when
your process finishes, it can output the call sequence of every
unfreed object.
So, if you download the release and build it, you can then test out
an executable ("RunTest" here) as follows:
$ valgrind --track-origins=yes --leak-check=full --show-reachable=yes RunTest
Be forewarned that your executable runs much slower!
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden