"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
This commit is contained in:
Elizaveta Shashkova
2016-07-12 12:55:42 +03:00
parent 9d9128d6c1
commit 753e1e668f
@@ -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)