How to debug a problem with python crashing under windows

Miki Tebeka miki.tebeka at gmail.com
Fri Feb 4 17:41:59 CET 2011


> With crashing I mean, that windows pops up a screen saying, that
> python.exe failed.
> I do not have any usable trace on stdout / stderr.
> 
> What are the best means to analyze such errors?
You can use sys.excepthook to catch uncaught exceptions. See http://pythonwise.blogspot.com/2008/12/crashlog.html for example ;)

HTH,
--
Miki



More information about the Python-list mailing list