[Lldb-commits] [lldb] [lldb-dap] Change the launch sequence (PR #138219)

via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 15:43:12 PDT 2025


================
@@ -357,6 +358,7 @@ def cleanup():
         self.addTearDownHook(cleanup)
         # Initialize and launch the program
         self.dap_server.request_initialize(sourceInitFile)
+        self.dap_server.request_configurationDone()
----------------
kusmour wrote:

Shouldn't we wait for `initialized` event?
```suggestion
        self.dap_server.wait_for_event("initialized")
        self.dap_server.request_configurationDone()
```

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


More information about the lldb-commits mailing list