From ffa53c787f50fee9025f8f9c8e765fe312cd7436 Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Wed, 5 Nov 2014 13:55:42 +0300 Subject: [PATCH] fix exception in the first suspend in remote debugger --- python/helpers/pydev/pydevd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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():