[Lldb-commits] [lldb] [lldb-dap] Improving 'variables' hover requests. (PR #146773)
Adrian Vogelsgesang via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 3 16:46:24 PDT 2025
================
@@ -181,7 +181,17 @@ void EvaluateRequestHandler::operator()(
expression = dap.last_nonempty_var_expression;
else
dap.last_nonempty_var_expression = expression;
+ } else {
+ // If this isn't a REPL context, trim leading pointer/reference characters
+ // to ensure we return the actual value of the expression.
----------------
vogelsgesang wrote:
doesn't this also trigger in way too many other contexts? E.g., also in the watch panel? I think in the watch panel a `*x` should actually dereference `x`
https://github.com/llvm/llvm-project/pull/146773
More information about the lldb-commits
mailing list