[Lldb-commits] [lldb] Bugfix: Not showing the synthetic children of values behind pointers (PR #117755)
Sergey Kuznetsov via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 26 14:25:22 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();
+ }
----------------
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
More information about the lldb-commits
mailing list