Visualizing Runtime Object Graphs
About This Video:
One of the first questions people seem to ask when they see the Dependency Graph features of Visual Studio 2010 is whether it can also be used to visualize run-time object graphs. In this video, I will show you how that can be done using the SOS debugger extensions and specifically the GCRoot command. I've used this technique several times to help figure out some really complex memory leak bugs, so I'm confident you will find this to be a useful tool to add to your toolbox of tricks.
The code for the GCRootToDGML tool is available to download so you can try this out yourself. It should work with any recent version of Visual Studio 2010.
Presented by: Chris Lovett