forked from OSchip/llvm-project
Fix this test for the the switch in default for IgnoreBreakpoints in SBFrame.EvaluateExpression.
llvm-svn: 259234
This commit is contained in:
parent
16ba669c87
commit
02e73d1c3c
|
@ -155,9 +155,14 @@ class TestCStepping(TestBase):
|
|||
current_file = frame.GetLineEntry().GetFileSpec()
|
||||
|
||||
break_in_b.SetEnabled(True)
|
||||
frame.EvaluateExpression ("b (4)", lldb.eNoDynamicValues, False)
|
||||
options = lldb.SBExpressionOptions()
|
||||
options.SetIgnoreBreakpoints(False)
|
||||
options.SetFetchDynamicValue(False)
|
||||
options.SetUnwindOnError(False)
|
||||
frame.EvaluateExpression ("b (4)", options)
|
||||
|
||||
threads = lldbutil.get_threads_stopped_at_breakpoint (process, break_in_b)
|
||||
|
||||
if len(threads) != 1:
|
||||
self.fail ("Failed to stop at breakpoint in b when calling b.")
|
||||
thread = threads[0]
|
||||
|
|
Loading…
Reference in New Issue