diff options
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r-- | lldb/source/Target/Process.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index f9088252111..32dda344a0f 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -3692,6 +3692,9 @@ Process::Detach (bool keep_stopped) } } + m_thread_list.DiscardThreadPlans(); + DisableAllBreakpointSites(); + error = DoDetach(keep_stopped); if (error.Success()) { |