Getting object values from running applications

Memory profiling for .NET developers

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

Getting object values from running applications

Postby r_honey » Fri Mar 16, 2012 9:48 am

I was evaluating Memory Profiler from a very specific perspective.
I have a production ASP.NET application and users sometimes report issues that I believe might be due to incorrect keys in a central static Dictionary my code maintains.

I am unable to reproduce the issue locally, and fortunately client allows me a small window to run my debugging tools to figure out the problem if needed.

I just used a Trial version of Memory Profiler but at the most it gave me information about number of live objects for any class and retention graph. I did not find a way where I can click one of those objects and view its contents.

Does Memory Profiler (or for that matter, even Performance Profiler) support this use-case? Is there any tool available that I can use to extract values from objects of a running application.
r_honey
 
Posts: 4
Joined: Thu Jan 08, 2009 9:39 am

Postby jrg » Fri Mar 16, 2012 6:26 pm

Yes, you can use the instance list

http://www.red-gate.com/supportcenter/c ... 4_instance

to view the fields and properties of any live object in a particular memory snapshot.
Test Engineer, .NET Division
Red Gate Software
jrg
 
Posts: 14
Joined: Fri Jul 02, 2010 3:13 pm

Postby r_honey » Fri Mar 16, 2012 9:46 pm

Thanks jrg for taking time out to reply. I will try that option.
r_honey
 
Posts: 4
Joined: Thu Jan 08, 2009 9:39 am


Return to ANTS Memory Profiler 7

Who is online

Users browsing this forum: No registered users and 0 guests