diff options
Diffstat (limited to 'lldb/source/Breakpoint/Watchpoint.cpp')
-rw-r--r-- | lldb/source/Breakpoint/Watchpoint.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/Watchpoint.cpp b/lldb/source/Breakpoint/Watchpoint.cpp index a9fe4ee4a22..7c048fadf4a 100644 --- a/lldb/source/Breakpoint/Watchpoint.cpp +++ b/lldb/source/Breakpoint/Watchpoint.cpp @@ -313,7 +313,9 @@ Watchpoint::SetEnabled(bool enabled) if (!enabled) { SetHardwareIndex(LLDB_INVALID_INDEX32); - ClearSnapshots(); + // Don't clear the snapshots for now. + // Within StopInfo.cpp, we purposely do disable/enable watchpoint while performing watchpoint actions. + //ClearSnapshots(); } m_enabled = enabled; } |