Add tracing code. It is not complete, but it may be useful. A way to
display it better would be good. Maybe XML serialization and a good XML
viewer.