<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/138803>138803</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
(SB)Target::ConnectRemote doesn't honor synchronous mode
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JDevlieghere
</td>
</tr>
</table>
<pre>
`(SB)Target::ConnectRemote` doesn't honor synchronous mode. I looked into this in the past but I don't remember the exact details. The best I could find is a conversation with @jimingham about stopping the private state thread which means that al private events automatically get promoted to public events. This results in a spurious stop event when using lldb-dap and the command finishing before the attach completes on the command line.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEksFu4zgMhp9GvhANXNlO4oMP7RYBusfdvoAsMRY7smiIdDJ9-4HdYgZz6sUWwO8nfxK_E6EpIw6mezbdS-VWjVyGf1_wlginiAWrkcPHYI61sef_n43t31yZUE3zZJqnfzhn9PofzqxojjUERsnGnhQiZy4gH9nHwplXgZkDHuAVEvMPDEBZGTSSAGXQiLA4URhXhVcI_Nmk4IzziGWv40_nFQKqoyQHeIsII8qGe15TgCvlACTgwHO-YRGnxBnupBFMW7_TTHmKbgY38qogystCefqcXejmFEF0-2os6ALcI_kIM7osoNEpuPQbxBtmFXCr8uyUvEvpAyZUWApvxwigDMs6JvJf7OaYBArKmnRf2oEsa6HtNpuZTw7uETOssjlLKYwPwS3gcthtep7n7X2lTBI3ZMQrF9yLTtX5uDFLQkUBzn-JEmU8VGFoQt_0rsLh8dQeu749920VBzw13fXUnHvXNJ09NtZeseub0B5bPJ5bX9Fga9vVXX2qu8e2aw6-7_Hqu667Hlv0iKatcXaUDind5gOXqSKRFYfH5nyumyq5EZPsSbM24x32qrF2C14ZNtHDuE5i2jqRqPxpo6QJh2_z9234qrWkIaousqntxdjLRBrX8eB5NvayDfz6PSyF39GrsZfdphh7-drjNthfAQAA___Nihny">