[Lldb-commits] [lldb] [lldb-dap] Adjusting the initialize/launch flow to better match the spec. (PR #171549)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 10 16:48:21 PST 2025


================
@@ -21,16 +21,18 @@ using namespace lldb_dap::protocol;
 namespace lldb_dap {
 
 /// Launch request; value of command field is 'launch'.
-Error LaunchRequestHandler::Run(const LaunchRequestArguments &arguments) const {
+void LaunchRequestHandler::Run(
+    const LaunchRequestArguments &arguments,
+    llvm::unique_function<void(llvm::Error)> callback) const {
   // Initialize DAP debugger.
   if (Error err = dap.InitializeDebugger())
----------------
JDevlieghere wrote:

Shouldn't this be done in the `initialize` request handler?

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


More information about the lldb-commits mailing list