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