[Lldb-commits] [lldb] [lldb-dap] Emit more structured info along with variables (PR #75244)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 14 12:06:22 PST 2023


================
@@ -153,10 +153,18 @@ def do_test_scopes_variables_setVariable_evaluate(
         buffer_children = make_buffer_verify_dict(0, 32)
         verify_locals = {
             "argc": {
-                "equals": {"type": "int", "value": "1"},
-                "declaration": {
-                    "equals": {"line": 12, "column": 14},
-                    "contains": {"path": ["lldb-dap", "variables", "main.cpp"]},
+                "equals": {
+                    "type": "int",
+                    "value": "1",
+                },
+                "$__lldb_extensions": {
+                    "equals": {
+                        "lldbValue": "1",
----------------
walter-erquinigo wrote:

Yes, it's the same as SBValue::GetValue()

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


More information about the lldb-commits mailing list