[Pydev-users] [Users] Pydevd locking up multithreaded application
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2011-03-25 15:47:59
|
The following forum message was posted by xl600sf at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4428686: While running outside of the Pydevd debugger, my multithreaded (Using threading.Thread) application works without any hiccups. As soon as I run within the debugger, certain threads exhibit odd behavior and tend to lock up after a short period of time. There's two behaviors that I'm not understanding here: 1. Pydevd seems to be unable to suspend certain threads. I can't see why though. Some threads suspend reliably, some don't. 2. One thread in particular (Using asyncore) seems to be the big trouble maker. Within the asyncore.poll() function (At randomly varying locations), the thread locks up while running in the debugger. Since this looks like a conflict between my threads and the pydevd debugger, I'm at a loss to know how I would debug the root cause of this problem. Without being able to run the application in the debugger, it's pretty difficult to debug anything. Any tips on how to debug the debugger? Or is this a known issue with asyncore and PyDev? Thanks, Robert |