[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
================
@@ -4020,6 +4020,10 @@ void request_variables(DAP &dap, const llvm::json::Object &request) {
std::optional<std::string> custom_name = {}) {
if (!child.IsValid())
return;
+ if (child.IsSynthetic() && (child.GetType().IsPointerType() || child.GetType().IsReferenceType())) {
----------------
walter-erquinigo wrote:
@clayborg , what do you think about this? This pretty much matches the experience from CLI, i.e. the variable name is prepended with `*`, but the synthetic value is displayed right away.
https://github.com/llvm/llvm-project/pull/117755
More information about the lldb-commits
mailing list