[Lldb-commits] [lldb] [lldb-dap] Adjust the evaluate test to use a different lldb command. (PR #116045)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 13 05:40:51 PST 2024


================
@@ -101,9 +101,9 @@ def run_test_evaluate_expressions(
         if context == "repl":
             # In the repl context expressions may be interpreted as lldb
             # commands since no variables have the same name as the command.
-            self.assertEvaluate("var", r"\(lldb\) var\n.*")
+            self.assertEvaluate("list", r"\(lldb\) list\n.*")
         else:
-            self.assertEvaluateFailure("var")  # local variable of a_function
+            self.assertEvaluateFailure("list")  # local variable of a_function
----------------
Michael137 wrote:

Why does evaluating `list` in `a_function` fail?

https://github.com/llvm/llvm-project/pull/116045


More information about the lldb-commits mailing list