Hi Bob,
To get mpatrol to display symbols instead of addresses when using Visual C++ you need to add a few settings to your build. This involves turning on debug generation in the compiler and linker, but not using a PDB file (or at least I couldn't get it to work with PDB files). Have a look at the command line options for 'cl' in:
That should help you get debug symbols. You might also want to run with the USEDEBUG option in mpatrol so that you can get source-level line number information in the mpatrol log as well.
Graeme.
From: mpatrol@yahoogroups.com [mailto:mpatrol@yahoogroups.com] On Behalf Of Robert
Sent: 12 March 2009 21:39
To: mpatrol@yahoogroups.com
Subject: [mpatrol] Trying to use MPatrol
I am developing an application using C++, MFC and Visual Studio 2008. I have good reason to believe that it frees memory not properly allocated and it leaks memory. To remedy this situation, I am trying to use MPatrol.
When I run MPatrol the generated log file shows these problems. However, the stack trace is all address, not symbols. What do I do to get it to show symbols?
Thanks
Bob