[Lldb-commits] [lldb] [lldb-dap] Add feature to remember last non-empty expression. (PR #107485)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 13 03:02:28 PDT 2024
================
@@ -1376,6 +1382,16 @@ void request_evaluate(const llvm::json::Object &request) {
EmplaceSafeString(body, "result", result);
body.try_emplace("variablesReference", (int64_t)0);
} else {
+ if (context != "hover") {
----------------
labath wrote:
Should the `!=hover` be `==repl` instead? I don't think we want to repeat the expression s from the watch window..
https://github.com/llvm/llvm-project/pull/107485
More information about the lldb-commits
mailing list