Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Trying to use MPatrol   Message List  
Reply | Forward Message #1190 of 1198 |
RE: [mpatrol] Trying to use MPatrol

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



Tue Mar 24, 2009 1:24 pm

graemeroy
Offline Offline
Send Email Send Email

Forward
Message #1190 of 1198 |
Expand Messages Author Sort by Date

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...
Robert
value_bob1586
Offline Send Email
Mar 13, 2009
9:16 am

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 ...
Graeme Roy
graemeroy
Offline Send Email
Mar 24, 2009
1:30 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help