ashgti wrote:
Checking this with:
```
$ echo 'Content-Length: 51\r\n\r\n{"command":"disconnect","seq": 1,"type":
"request"' > /tmp/partial_message
$ lldb lldb-dap
(lldb) process handle -s true SIGPIPE
(lldb) process launch -i /tmp/partial_message
```
Without the `LLDBDAP_LOG` env set is how I found the crash and the SIGPIPE
write error. It was from logging here
https://github.com/llvm/llvm-project/blob/12c5a46c300eedb6cafc68b987abb9c1fa913e96/lldb/tools/lldb-dap/lldb-dap.cpp#L596
https://github.com/llvm/llvm-project/pull/129964
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits