[PyQt] Forcing stacktrace in program

Arve Knudsen arve.knudsen at gmail.com
Fri Sep 14 15:14:45 BST 2007


I want to be able to get a stack trace of my hanging PyQt application, does
anyone have any tips on how this can be done in a cross-platform way? I can
catch SIGINT (and then write the trace before quitting) but the program
isn't necessarily run in a terminal, so I need some way of killing it from
the GUI (e.g., End Task on Windows). I have no idea how to catch the event
resulting from say End Task on Windows however. Any practical insight would
be very welcome.

Thanks,
Arve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070914/f0aca10a/attachment.html


More information about the PyQt mailing list