[Lldb-commits] [lldb] [lldb-dap] Make the DAP server resilient against broken pipes (PR #133791)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 31 14:03:10 PDT 2025


ashgti wrote:

I did that while I was trying to figure out how to have `cancel` request support. I was trying to close the FD to stop the reader thread, but that actually doesn't interrupt in-progress `read` calls. I should have reverted that when I did some of the `Transport` refactors. In my `cancel` request I use the `SelectHelper` to wait for input now. I can send a PR to change that to `false`.

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


More information about the lldb-commits mailing list