[Lldb-commits] [lldb] [lldb-dap] Add an introductory message on startup. (PR #170795)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 5 13:05:10 PST 2025


================
@@ -261,6 +262,26 @@ void BaseRequestHandler::PrintWelcomeMessage() const {
 #endif
 }
 
+void BaseRequestHandler::PrintIntroductionMessage() const {
+  lldb::SBStream msg;
+  msg.Print("To get started with the lldb-dap debug console try "
+            "\"<variable>\", \"help [<cmd-name>]\", or \"apropos "
+            "<search-word>\".\r\nFor more information visit "
+            "https://github.com/llvm/llvm-project/blob/main/lldb/tools/"
+            "lldb-dap/README.md\r\n");
----------------
ashgti wrote:

With the [repl mode](https://github.com/llvm/llvm-project/blob/main/lldb/tools/lldb-dap/README.md#lldb-dap-repl-mode) set to `auto` (the default) we should generally be able to detect commands without needing the escape character, but I'll update make a note about that.

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


More information about the lldb-commits mailing list