================
@@ -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();
+      }
----------------
skuznetsov wrote:

The first change is more than enough. To be on the safe side, I overcomplicated 
it a little.

https://github.com/llvm/llvm-project/pull/117755
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to