[Lldb-commits] [lldb] Bugfix: Not showing the synthetic children of values behind pointers (PR #117755)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 26 10:41:28 PST 2024


================
@@ -4028,6 +4032,9 @@ void request_variables(DAP &dap, const llvm::json::Object &request) {
             dap.enable_synthetic_child_debugging,
             /*is_name_duplicated=*/false, custom_name));
       };
+      if (variable.GetType().IsPointerType() || variable.GetType().IsReferenceType()) {
+        variable = variable.Dereference();
+      }
----------------
walter-erquinigo wrote:

Do you know why you need this change and the one above is not enough?

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


More information about the lldb-commits mailing list