diff --git a/python/helpers/pydev/pydevd.py b/python/helpers/pydev/pydevd.py index dfac7691dc79..5f40a93e668a 100644 --- a/python/helpers/pydev/pydevd.py +++ b/python/helpers/pydev/pydevd.py @@ -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():