labath wrote:

I agree with Jonas and Michał. I think we should take a step back. Can you 
explain where exactly does this BrokenPipeError come from (an exception 
backtrace for example)?

The code here assumes that we get a "connection refused" error if the port 
wasn't open. Maybe we need to catch "broken pipe" as well (but first I want to 
understand how does it get triggered).

And if that isn't enough, we can increase the sleep time or change it into an 
exponential backoff thingy.

https://github.com/llvm/llvm-project/pull/127100
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to