Howto debug self?

Oliver Eichler oliver.eichler at dspsolutions.de
Mon Sep 9 03:37:22 EDT 2002


Hi 

Is it possible to debug self with pdb? I mean it in the sense of getting a 
list of vars and their values. I know I can do: 

pdb> print self.xyz

but is there a way to dump a complete list of all vars within self. The same 
applies for a class instance. I would like to dump all of it vars at a 
time. Without knowing the class structure like the print command in pdb 
assumes.

Pretty much stuck here...

Oliver



More information about the Python-list mailing list