your favorite debugging tool?

Marius Gedminas mgedmin at gmail.com
Thu Sep 3 12:53:51 CEST 2009


On Aug 25, 2:55 pm, Esmail <ebo... at hotmail.com> wrote:
> Re pdb, if you have a 'pointer' (ie reference) to an object, is there
> an easy way to dump out its contents, ie all of its members short of
> writing a method that does that and then calling it?

Usually

  pp vars(your_object)

does what you want



More information about the Python-list mailing list