score:1

you could serialize the object graph to a file -- if all of the connected obejcts are serializable.

i have done this myself by writing a testutils.serialize(serializable, string) method. i have used internally apache's serializationutils and where the string is a file path.

use this when execution has stopped on a breakpoint:

  1. open the display view
  2. call the serialize() method with the appropriate args

later you can deserialze the file to the object graph again (e.g. in a unit test ) and then inspect it or extract portions of it or whatever.

if not all objects are serializable you need to beef up your serialize() to handle these cases or use some other generic serialization library that can handle such stuff.

other alternatives are, but probably insufficient for your problem:

  • write a custom to string() for the debug/expression view that only contains the really needed values
  • use a screenshot tool like greenshot

Related Query

More Query from same tag