Tuesday, April 2, 2013

Debugging with XStream

Problem with some data in a large object graph, how to find where the problem was residing.
When the objects didn't define a toString method, we can use XStream to get a representation of the object graph and dump it to the console

new XStream().toXML(objectGraph, System.out);
9:04 PMtech-mashup