[Lldb-commits] [lldb] [lldb-dap] Adding support for cancelling a request. (PR #130169)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 19 09:47:28 PDT 2025


================
@@ -96,7 +115,7 @@ Expected<std::optional<Message>> Transport::Read() {
     return createStringError(
         formatv("invalid content length {0}", *raw_length).str());
 
-  Expected<std::string> raw_json = ReadFull(*input, length);
----------------
ashgti wrote:

Also, frustrating on Windows stdin is an anonymous pipe and anonymous pipes do not support async reads (https://learn.microsoft.com/en-us/windows/win32/ipc/anonymous-pipe-operations) which is why I disabled the one test on Windows, since we can't read with a timeout on stdin.

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


More information about the lldb-commits mailing list