mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix exception in the first suspend in remote debugger
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user