[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: programming tools



Try 'valgrind'. It can run pretty slowly, but the results it produces are tremendously useful.

Here's how I usually invoke it:
   valgrind --tool=memcheck --error-limit=no --num-callers=40 --db-attach=yes


Joris Huizer wrote:
Hello,

I'm wondering, is there a tool (under linux) to find memory leaks? I know of smatch but it doesn't exist under apt (`apt-cache search smatch` doesn't find anything relevant) Also, is there a way to find what piece of code is running most of the time in a program?

Just to try and find some clues about wine's behavior (for the latter, so much X activity sometimes) and out of curiosity

Thanks,

regards,

Joris



--
Christian Convey
Computer Scientist,
Naval Undersea Warfare Center
Newport, RI



Reply to: