By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,908 Members | 1,945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,908 IT Pros & Developers. It's quick & easy.

Debugging SocketServer.ThreadingTCPServer

P: n/a
I have a ThreadingTCPServer application (pygossip, part of
http://sourceforge.net/projects/pymilter). It mostly runs well, but
occasionally goes into a loop. How can I get a stack trace of running
threads to figure out where the loop is? Is there some equivalent of
sending SIGQUIT to Java to get a thread dump? If needed, I can import pdb
and set options at startup, but there needs to be some external way of
triggering the dump since I can't reproduce it at will.

--
Stuart D. Gathman <st****@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

Jan 16 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.