View Full Version : Memory profiling and debugging tools

09-11-2004, 09:58 AM
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 :(

09-11-2004, 11:43 AM
Well I've used electric fence in the past with some success.
Many others suggest valgrind as an alternative.

09-11-2004, 12:38 PM
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.
profiling support->profiling support

09-14-2004, 02:12 PM
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.

09-14-2004, 03:58 PM
Not a reccomendation (never used it), but you are free to check it out for yourself: