Hi there.

I've just started using the python debugger and I wonder how I could have
lived without it earlier.

I just wonder if there is a smarter way to show what all the variables
contain in any given point in the debugger. I'm using this approach:

import sys
f = sys._getframe()
p f.f_locals.items()

It's not exacly pretty in its output, but it's better than nothing. Can this
be done in a smarter way?

-- 

Kind regards

Michael B. Arp Sørensen
Programmer / BOFH

"Ride out and meet them."
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to