[Pydev-users] [Users] Debug Exception - dictionary changed size dur
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2011-06-06 14:29:10
|
The following forum message was posted by mkoenig65 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4560990: We are having a problem debugging our application using the pydev debugger. We have a application that creates and destroy threads and when a break point is set in the main thread we occasionally get the following exception File "C:\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_ frame.py", line 102, in trace_dispatch self.doWaitSuspend(thread, frame, event, arg) File "C:\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_ frame.py", line 25, in doWaitSuspend self._args[0].doWaitSuspend(*args, **kwargs) File "C:\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd.py", line 687, in doWaitSuspend self.processInternalCommands() File "C:\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd.py", line 399, in processInternalCommands [b]for tId in self.RUNNING_THREAD_IDS.keys():[/b] RuntimeError: dictionary changed size during iteration >From the code I am assuming this is being caused by one of our background threads being destroyed changing the self.RUNNING_THREAD_IDS to change. Has anyone else ran into this? If this is a bug in the debbuger code does anyone know the issue so I can monitor it.? And last is there a recommend work around/code change for this. Thanks |