Workaround for PY-12317

This commit is contained in:
Dmitry Trofimov
2014-04-03 14:05:01 +02:00
parent 98570645b0
commit 39535317b6
+7 -2
View File
@@ -992,9 +992,14 @@ class PyDB:
f = f.f_back
# if thread is not alive, cancel trace_dispatch processing
if not t.isAlive():
try:
alive = t.isAlive()
except:
alive = False #Workaround for Python 3.4 http://youtrack.jetbrains.com/issue/PY-12317
if not alive:
self.processThreadNotAlive(GetThreadId(t))
return None # suspend tracing
return None # suspend tracing
if is_file_to_ignore:
return None