22 Jul
2008
22 Jul
'08
7:23 p.m.
I often find that I debug problems by inserting a pdb.set_trace() in code, and then quitting the debugger with "q" once I've gathered information I need to make code changes. This causes a BdbQuit exception to be raised and propagated to the test runner. The resulting traceback isn't actually useful. I'd like to change the test runner to capture BdbQuit and print a message to stdout before exiting instead of dumping the traceback. Any reason this would be a bad idea? -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller
6490
Age (days ago)
6490
Last active (days ago)
0 comments
1 participants
participants (1)
-
Fred Drake