Howto debug self?
Oliver Eichler
oliver.eichler at dspsolutions.de
Tue Sep 10 08:22:14 EDT 2002
> print self.__dict__
Yes, this would work. However if self has some classes you have to iterate
over the dictionaries. I tried to make my own abstraction from bdb to play
with the eval() command, to display the complete tree. But I ran into
recursion problems (enless loops).
Somehow it is hard to imagin this has not been implemented sofar, as I would
consider it as a very basic debugging function. Are there better frontends
to bdb than pdb?
Oliver
More information about the Python-list
mailing list