[Zope3-dev] XMLed ZODB

Garrett Smith garrett@mojave-corp.com
Wed, 9 Jul 2003 09:49:20 -0500


Stephan Richter wrote:
> On Wednesday 09 July 2003 09:18, Garrett Smith wrote:
>> What do people use to debug the contents of the ZODB? E.g. I'd like
>> to confirm that an index contains correct info without having to add
>> print statements to my code. (I realize that unit tests are the most
>> thorough way of testing, but I'd still like to peek into the ZODB
>> from time to time.)
>=20
> You said the magic word: debug. Use the debugger or start zope via
> zope.app and look for the object and then print the right variable.

That's what I'm doing, but there are occassions when it would be nice to
dump the ZODB to some viewable state. So, no?

 -- Garrett