diff options
Diffstat (limited to 'lldb/source/Breakpoint/Watchpoint.cpp')
-rw-r--r-- | lldb/source/Breakpoint/Watchpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/Watchpoint.cpp b/lldb/source/Breakpoint/Watchpoint.cpp index db602d5d913..ce2ce8ba27c 100644 --- a/lldb/source/Breakpoint/Watchpoint.cpp +++ b/lldb/source/Breakpoint/Watchpoint.cpp @@ -232,7 +232,7 @@ void Watchpoint::TurnOffEphemeralMode() { } bool Watchpoint::IsDisabledDuringEphemeralMode() { - return m_disabled_count > 1; + return m_disabled_count > 1 && m_is_ephemeral; } void Watchpoint::SetEnabled(bool enabled, bool notify) { |