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

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 31 13:49:30 PDT 2025


JDevlieghere wrote:

> Does setting the 3rd param to `false` on
> 
> https://github.com/llvm/llvm-project/blob/5e2860a8d375ded2d2912894e380fefc8cb1f23a/lldb/tools/lldb-dap/lldb-dap.cpp#L574
> 
> change anything for you?

No, I tried that but I'm still getting the `SIGHUP`. 

Why do we take ownership of stdin? Is there any benefit to closing the stdin file descriptor? 

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


More information about the lldb-commits mailing list