Open
Description
When using runInTerminal
, lldb-dap uses a fifo to communicate between the lldb-dap process and the launched process.
This communication is flaky on some platforms, for example on arm CI hosts we disable this test and I've seen this be unstable in some cases as well.
Additionally, we've got some implementation quirks like the fact we leak std::future
objects when a timeout occurs:
llvm-project/lldb/tools/lldb-dap/FifoFiles.cpp
Lines 62 to 69 in a63846b
I think it might be worth revisiting this approach, for example we could use a socket instead of a fifo.