> That's a good idea. So far I've been "printing" things to the > terminal by raising exceptions with the stuff I want in the error > message, but this kills the program and is hard to control.
I do this: [some vars here need to be checked] import sys print >>sys.stderr, stuff... and run pudb with python -m pudb.run script.py 2>debug.log and tail in another terminal tail -F debug.log This is only way I know work better for debugging pudb. I even have a tmux conf to set up for this task. Yu-Jie Lin _______________________________________________ Pudb mailing list [email protected] http://lists.tiker.net/listinfo/pudb
