[Lldb-commits] [lldb] [lldb] Make SBProcess thread related actions listen to StopLocker (PR #134339)

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 10 19:48:12 PDT 2025


================
@@ -52,8 +64,14 @@ void ConfigurationDoneRequestHandler::operator()(
   dap.configuration_done_sent = true;
   if (dap.stop_at_entry)
     SendThreadStoppedEvent(dap);
-  else
+  else {
+    // Client requests the baseline of currently existing threads after
+    // a successful launch or attach.
+    // A 'threads' request will be sent after configurationDone response
+    // Obtain the list of threads before we resume the process
----------------
kusmour wrote:

As for the `continued` event, VSCode will ignore the threadID if `allThreadsContinued: true`. Looks like can send an invalid threadID if resuming all threads

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


More information about the lldb-commits mailing list