Debugging db4o

Debugging is, in general, a cumbersome and tiring task. And it tends to be harder when various subsystems are tightly coupled, like db4o library and your application. How can db4o help you with the process?