From 753e1e668f22146889bdec965aba899d554d1a46 Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Tue, 12 Jul 2016 12:54:48 +0300 Subject: [PATCH] "Suspend all threads" options doesn't work with Python 3 (PY-20052) When processing suspend command we should force to overwrite the previous trace function with Python 3 --- .../helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py b/python/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py index e7b77aad244c..229745fe8ec6 100644 --- a/python/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py +++ b/python/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py @@ -93,7 +93,7 @@ def process_net_command(py_db, cmd_id, seq, text): if additional_info is not None: for frame in additional_info.iter_frames(t): - py_db.set_trace_for_frame_and_parents(frame) + py_db.set_trace_for_frame_and_parents(frame, overwrite_prev_trace=True) del frame py_db.set_suspend(t, CMD_THREAD_SUSPEND)