The following forum message was posted by darrellrmay at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4560990:

This patch seemed to work for me...

--- pydevd.py.old       2011-06-29 10:15:43.463040992 -0400
+++ pydevd.py   2011-06-29 10:13:00.154231186 -0400
@@ -52,6 +52,7 @@
 import pydevd_io
 from pydevd_additional_thread_info import PyDBAdditionalThreadInfo 
 import time
+import copy
 threadingEnumerate = threading.enumerate
 threadingCurrentThread = threading.currentThread
 
@@ -400,7 +401,8 @@
                     if hasattr(t, 'doKill'):
                         t.doKill()
             
-            for tId in self.RUNNING_THREAD_IDS.keys():
+            runningThreadsCopy = copy.copy(self.RUNNING_THREAD_IDS)
+            for tId in runningThreadsCopy.keys():
                 try:
                     if not DictContains(foundThreads, tId):
                         self.processThreadNotAlive(tId)


cheers,
Darrell.



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to