File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ def evaluateExpressionValue(expression, printErrors=True):
4242 frame = lldb .debugger .GetSelectedTarget ().GetProcess ().GetSelectedThread ().GetSelectedFrame ()
4343 options = lldb .SBExpressionOptions ()
4444 options .SetLanguage (lldb .eLanguageTypeObjC_plus_plus )
45+ options .SetTrapExceptions (False )
4546 value = frame .EvaluateExpression (expression , options )
4647 error = value .GetError ()
4748
@@ -61,7 +62,9 @@ def evaluateInputExpression(expression, printErrors=True):
6162 return evaluateExpressionValue (expression , printErrors ).GetValue ()
6263
6364 frame = lldb .debugger .GetSelectedTarget ().GetProcess ().GetSelectedThread ().GetSelectedFrame ()
64- value = frame .EvaluateExpression (expression )
65+ options = lldb .SBExpressionOptions ()
66+ options .SetTrapExceptions (False )
67+ value = frame .EvaluateExpression (expression , options )
6568 error = value .GetError ()
6669
6770 if printErrors and error .Fail ():
You can’t perform that action at this time.
0 commit comments