Project

General

Profile

Actions

Python notes » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Amber Herold, 09/20/2011 03:11 PM


Python notes

Debugging

  • print out the stack trace after an exception is caught:
                one, two, tb = sys.exc_info()
                traceback.print_tb(tb)
    

Updated by Amber Herold about 13 years ago · 3 revisions