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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 11 10:20:54 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
----------------
clayborg wrote:

yeah, we just need to change our code to always send it even if the `dap.focus_tid` is not valid.

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


More information about the lldb-commits mailing list