• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: valgrind-3.5.0 is available (Mac OS X support)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: valgrind-3.5.0 is available (Mac OS X support)
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: Adding existing svn files to new project
  • Next by Date: Completions not working in 3.1.3?
  • Previous by thread: Re: valgrind-3.5.0 is available (Mac OS X support)
  • Next by thread: Re: valgrind-3.5.0 is available (Mac OS X support)
  • Index(es):
    • Date
    • Thread