[Lldb-commits] [lldb] r259185 - Ignore breakpoints by default in SBFrame::EvaluateExpression
Eugene Leviant via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 29 02:48:11 PST 2016
Author: evgeny777
Date: Fri Jan 29 04:48:11 2016
New Revision: 259185
URL: http://llvm.org/viewvc/llvm-project?rev=259185&view=rev
Log:
Ignore breakpoints by default in SBFrame::EvaluateExpression
Modified:
lldb/trunk/source/API/SBFrame.cpp
Modified: lldb/trunk/source/API/SBFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBFrame.cpp?rev=259185&r1=259184&r2=259185&view=diff
==============================================================================
--- lldb/trunk/source/API/SBFrame.cpp (original)
+++ lldb/trunk/source/API/SBFrame.cpp Fri Jan 29 04:48:11 2016
@@ -1389,6 +1389,7 @@ SBFrame::EvaluateExpression (const char
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
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
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)
More information about the lldb-commits
mailing list