4

Is there any such tool for Eclipse to draw a visual graph for a given object as the root in debug mode? Something like Stan4J but more focused on objects and fields.

dda
  • 6,030
  • 2
  • 25
  • 34
johnflan
  • 321
  • 4
  • 15

2 Answers2

2

Well, there is DoodleDebug. It's not a debugger extension, but a tool with similar usage as System.out.prinln(). You can install it as an Eclipse plugin and it comes with a short tutorial. The default representation of non-standard Java objects is printing their class name and included fields.

Cedric Reichenbach
  • 8,970
  • 6
  • 54
  • 89
  • Thanks @Cedric, this looks exactly like what I was looking for. [link to screenshot](https://wiki.eclipse.org/sites/default/files/styles/ds_solution_screenshot/public/output_maps-lists_1.png) – johnflan Feb 13 '13 at 11:09
1

There is also java spider. Not very user friendly, but you can get kind of an object graph. (btw. this is a plugin from Kent Beck and Erich Gamma...)

wrm
  • 1,898
  • 13
  • 24