How do I translate the _methodPtr to a method?

Memory profiling for .NET developers

Moderators: Luke Jefferson, StephenC, AndrewH, melvyn.harbour, james.billings, Laura Morley, dene.boulton

How do I translate the _methodPtr to a method?

Postby anders.vejen » Tue Jun 05, 2012 8:37 am


I am in the middle of fixing a lot of memory leaks in our WinForms application, and one thing that is frustrating me about this otherwise brilliant product, is that when chasing delegates that reference and thereby keep instances alive, the method the delegate point to, is not available.

I get:

_methodBase NULL
_methodPtr +0x0f88f60c
_methodPtrAux +0x00000000
+Target <name of class containing method>

So I know which class, but not which method. How can I translate the "_methodPtr +0x0f88f60c" to an actual method?
Posts: 3
Joined: Thu Nov 24, 2011 12:10 pm

Postby jessica.ramos » Wed Jun 06, 2012 10:52 pm

You may be able to obtain the method names by running Windbg while the process is still running ( ... ith-windbg).
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm

Return to ANTS Memory Profiler 7

Who is online

Users browsing this forum: No registered users and 0 guests