[Lldb-commits] [lldb] [lldb][lldb-dap] fix repeating commands in repl mode (PR #135008)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 10 16:10:41 PDT 2025


================
@@ -290,7 +290,8 @@ struct DAP {
   ///   \b false if a fatal error was found while executing these commands,
   ///   according to the rules of \a LLDBUtils::RunLLDBCommands.
   bool RunLLDBCommands(llvm::StringRef prefix,
-                       llvm::ArrayRef<std::string> commands);
+                       llvm::ArrayRef<std::string> commands,
+                       bool echo_commands = true);
----------------
JDevlieghere wrote:

Should we make the default false? 
```suggestion
                       bool echo_commands = false);
```

https://github.com/llvm/llvm-project/pull/135008


More information about the lldb-commits mailing list