[Dev-C++] Memory leak detection tool?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Nicolas R. <ni...@bo...> - 2004-02-18 22:26:57
|
Hello everyone,
I'm trying to find a decent memory leak detection tool that
- works correctly with the latest version of Dev-C++ 5 (i.e. gcc
3.2)
- works with C++ code (we use new/delete as opposed to malloc/free)
- is free, or at least free for non-commercial purposes
- is reasonably easy to build and install
Our students need such a tool in order to debug dynamic memory-related
problems. They don't write any Win32 code, just ANSI C++ programs.
I have used MSS ("Memory Supervision System") in the past, and it was
mostly OK (although it did have its little quirks). But I could not get
it to compile correctly with Dev.
Another good-looking option would be the mpatrol library, of which
there is a precompiled version in a package on the MinGW downloads
page... but programs linked to that lib seem to fail, probably because
of the gcc 3.2 changes (although the MinGW mpatrol package is dated
07/21/2003 -- that's post-3.2, isn't it? anyway, it doesn't seem to
work). Has anyone managed to build mpatrol from source using Dev?
Any tips or recommendations would be greatly appreciated.
Thanks,
Nicolas
Buenos Aires, Argentina
|