Debugging thread stall

Roy Smith roy at panix.com
Fri Nov 27 15:22:56 CET 2009


I've got an application which uses several threads (from the threading 
module) to do I/O.  Inexplicably, I've now got a situation where one thread 
stalls.

Are there any good tools for debugging Python threading problems?  I'm 
thinking of something which might print out a list of all the threads, what 
they're waiting on, and what locks they hold.



More information about the Python-list mailing list