fix exception in the first suspend in remote debugger

This commit is contained in:
Elizaveta Shashkova
2014-11-05 13:55:42 +03:00
parent 89def0a4ce
commit ffa53c787f
+2 -2
View File
@@ -1858,7 +1858,7 @@ def _locked_settrace(
#Suspend as the last thing after all tracing is in place.
if suspend:
debugger.setSuspend(t, CMD_SET_BREAK)
debugger.setSuspend(t, CMD_THREAD_SUSPEND)
PyDBCommandThread(debugger).start()
PyDBCheckAliveThread(debugger).start()
@@ -1884,7 +1884,7 @@ def _locked_settrace(
if suspend:
debugger.setSuspend(t, CMD_SET_BREAK)
debugger.setSuspend(t, CMD_THREAD_SUSPEND)
def stoptrace():