From: Andrew Hart <arhart@us...> - 2004-11-05 03:37:31
Would anyone like to recommend a good, free memory debugging tool for MinGW?
Either a full debugger or a library would be nice. I'd prefer not to
edit the source code I'm debugging, but relinking would be no problem.
Building from either the Cygwin or MSYS environments would be fine. I'm
most interested in detecting the following errors using malloc/free
(and/or the corresponding GLib functions):
So far any I've tried either haven't built cleanly or require modifying
EVERY source file (not fun when working on an existing project).
From: Benjamin Riefenstahl <Benjamin.R<iefenstahl@ep...> - 2004-11-05 17:36:40
Andrew Hart writes:
> Would anyone like to recommend a good, free memory debugging tool
> for MinGW?
> buffer over-runs
> buffer under-runs
I just had a short look at mpatrol
<http://www.cbmamiga.demon.co.uk/mpatrol/>. I haven't tried it out
yet, but from the docs it seems to cover all the issues with dynamic
memory. It doesn't seem to cover overruns of static or automatic
(stack) storage, though.
From: Aaron W. LaFramboise <aaron77thyme@aa...> - 2004-11-05 20:40:59
Andrew Hart wrote:
> Building from either the Cygwin or MSYS environments would be fine. I'm
> most interested in detecting the following errors using malloc/free
> (and/or the corresponding GLib functions):
From time to time, on cool clear and sunny days like today, I have this
recurring wild fantasy about porting valgrind to Windows.
As it were, I have about a dozen other fantasies that are slated to be
fulfilled before then. However, if anyone is working on this and wants
help, I'd live to hear about it.
Aaron W. LaFramboise