[Pydev-cvs] org.python.pydev.debug/pysrc pydevd.py,1.93,1.94
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-05-01 18:21:01
|
Update of /cvsroot/pydev/org.python.pydev.debug/pysrc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11681/pysrc Modified Files: pydevd.py Log Message: Creating additional info when thread is found! Fix for http://sourceforge.net/tracker/index.php?func=detail&aid=1955428&group_id=85796&atid=577329: Index: pydevd.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/pysrc/pydevd.py,v retrieving revision 1.93 retrieving revision 1.94 diff -C2 -d -r1.93 -r1.94 *** pydevd.py 12 Apr 2008 18:09:10 -0000 1.93 --- pydevd.py 1 May 2008 18:21:06 -0000 1.94 *************** *** 193,196 **** --- 193,201 ---- for t in all_threads: if id(t) == thread_id: + if not hasattr(t, 'additionalInfo'): + #see http://sourceforge.net/tracker/index.php?func=detail&aid=1955428&group_id=85796&atid=577329 + #Let's create the additional info right away! + t.additionalInfo = pydevd_additional_thread_info.PyDBAdditionalThreadInfo() + self.RUNNING_THREAD_IDS[thread_id] = t cmd = self.cmdFactory.makeThreadCreatedMessage(t) |