[Lldb-commits] [lldb] [lldb-dap] Retry unbuffered reads. (PR #165823)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 31 10:36:35 PDT 2025


ashgti wrote:

I also think that it would be beneficial to move towards waiting on specific state instead of on specific events. E.g. most of the places we use `wait_for_event` could be updated to track and check a specific state.

When we trigger a request, any events emitted during the request *COULD* come before or after the response, depending on the timing.

Moving to tracking state specifically, could help improve this since we could then better handle out of order packets.

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


More information about the lldb-commits mailing list