From 24785bd0b8a322c832550f3521d19e4aa6782dc0 Mon Sep 17 00:00:00 2001 From: Eugene Leviant Date: Fri, 29 Jan 2016 10:48:11 +0000 Subject: [PATCH] Ignore breakpoints by default in SBFrame::EvaluateExpression llvm-svn: 259185 --- lldb/source/API/SBFrame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp index 02a215beb07d..6a36ae6fadc3 100644 --- a/lldb/source/API/SBFrame.cpp +++ b/lldb/source/API/SBFrame.cpp @@ -1389,6 +1389,7 @@ SBFrame::EvaluateExpression (const char *expr) lldb::DynamicValueType fetch_dynamic_value = frame->CalculateTarget()->GetPreferDynamicValue(); options.SetFetchDynamicValue (fetch_dynamic_value); options.SetUnwindOnError (true); + options.SetIgnoreBreakpoints (true); if (target->GetLanguage() != eLanguageTypeUnknown) options.SetLanguage(target->GetLanguage()); else @@ -1404,6 +1405,7 @@ SBFrame::EvaluateExpression (const char *expr, lldb::DynamicValueType fetch_dyna SBExpressionOptions options; options.SetFetchDynamicValue (fetch_dynamic_value); options.SetUnwindOnError (true); + options.SetIgnoreBreakpoints (true); ExecutionContext exe_ctx(m_opaque_sp.get()); StackFrame *frame = exe_ctx.GetFramePtr(); Target *target = exe_ctx.GetTargetPtr(); @@ -1421,6 +1423,7 @@ SBFrame::EvaluateExpression (const char *expr, lldb::DynamicValueType fetch_dyna ExecutionContext exe_ctx(m_opaque_sp.get()); options.SetFetchDynamicValue (fetch_dynamic_value); options.SetUnwindOnError (unwind_on_error); + options.SetIgnoreBreakpoints (true); StackFrame *frame = exe_ctx.GetFramePtr(); Target *target = exe_ctx.GetTargetPtr(); if (target && target->GetLanguage() != eLanguageTypeUnknown)