views:

46

answers:

1

Hi,

I am implementing a SPA tree algorithm and is looking for a Visual Studio plug-in that let me visualize objects and their relationships in debug/runtime.

Visualization like:

[0]-----[1]
 | \    /
[2] \  /
 |  [4]
[3]  | \
  \  |  [6]
   \[5]

Any ideas?

+1  A: 

DGML, see a sample here. You can author it yourself, it's based on XML. And you can just open it in Visual Studio 2010, you don't need any add-ins. You can create one from Add - New Item - Direct Graph Document. There also is a query language for it DGQL.

Now to see the objects hierarchy you can use Architecture Explorer. But it's static, at design time.

What kind of relations are you looking for at runtime?

Ion Todirel
Thanks. I actually found this:http://blogs.msdn.com/mohamedg/archive/2010/03/02/visual-gcroot-via-dgml.aspxWhich uses gcroot to dump the managed heap into a nice DGML visualization.
Robin
Having static object relational data won't help.I want to debug my algorithm and see that it is behaving as expected.In large object trees and complex algoritms, this easily becomes a teaser.
Robin