Freigeben über


Debugging References with Graph Visualizations

Chris Lovett has a nice video demonstrating how to debug managed memory leaks by visualizing the runtime object reference graph produced by the gcroot debugger command. The graph visualization may help you spot cycles or other unexpected references that are causing the memory leak faster than reading through the gcroot output. I've seen other suggestions to do this visualization using graphviz, but this is a nice presentations of the approach using the DGML feature of Visual Studio 2010 for describing graphs.