================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to