[wxMSW, MSVC7] how to spot memory leaks
Francesco Montorsi
f18m_cpp217828 at yahoo.it
Sun Feb 4 04:26:08 PST 2007
Hi all,
how do you spot memory leaks on wxMSW?
I remember I found a combination of the
#define wxUSE_DEBUG_CONTEXT
#define wxUSE_MEMORY_TRACING
#define wxUSE_GLOBAL_MEMORY_OPERATORS
#define wxUSE_DEBUG_NEW_ALWAYS
defines which allowed me (with MSVC 6) to see the filename and the linenumber of
the new() calls which were leaking memory when running the MSVC debugger.
I can't remember it however and I've been playing with these defines without any
result. Any hint?
Thanks,
Francesco
More information about the wx-users
mailing list