Hey guys,
I'd like to hear some reccomendations on tools for monitoring applications created in C++ (with SDL) and reporting any and all memory leaks. I tried Memprof but couldn't get it to work
Hey guys,
I'd like to hear some reccomendations on tools for monitoring applications created in C++ (with SDL) and reporting any and all memory leaks. I tried Memprof but couldn't get it to work
Well I've used electric fence in the past with some success.
Many others suggest valgrind as an alternative.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Yeah, I used gprof once, but I didn't have profiling support compiled in my kernel. If you are looking at profiling, (you are), you need to enable profiling support.
kernel-2.6.*
profiling support->profiling support[*]
Help populate a c/c++ help irc channel
server: irc://irc.efnet.net
channel: #c
I personally use valgrind and gprof. I used electric fence in the past, but I don't think its being maintained any longer, and I believe it doesn't work if NPTL is enabled.
Mark Loeser
http://www.halcy0n.com
Not a reccomendation (never used it), but you are free to check it out for yourself:
http://www.inf.ethz.ch/personal/bier...ects/ccmalloc/