[Lldb-commits] [lldb] [lldb-dap] Adjust variable display values. (PR #146754)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 2 12:53:57 PDT 2025
ashgti wrote:
> If you can ensure that the expression you are running can safely be executed by running only the current thread, it's only a performance problem to run expressions behind the user's back. But otherwise, we really should only run expressions when the user explicitly asks us to.
I thought, but didn't check, that this wouldn't run the target if the `target.prefer-dynamic-value` was set to `no-run-target`.
Maybe we could use this if only for `context="repl"` requests.
If you try to print something and it just prints `<typename> @ <pointer>`, that doesn't seem as useful as getting the object description, if its possible.
https://github.com/llvm/llvm-project/pull/146754
More information about the lldb-commits
mailing list