Ian Bicking: the old part of his blog

Comment

See also http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52215 which shows how to dump the local variables from each frame as well. That makes the debugging really easy.
Comment on Still Pretty Cheap Debugging Trick
by Roger Binns