[Lldb-commits] [lldb] [lldb] Add a packet-test-delay setting for testing slow connections (PR #195440)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue May 5 02:10:06 PDT 2026


DavidSpickett wrote:

> This patch adds an artificial delay before sending a package

You sometimes say packet and sometimes say package. Either package means a bundle of packets or you should be saying packet in all cases.

> This patch adds an artificial delay before sending a package to simulate this latency without requiring an emulated/physical device.

What are the options for this? I think you would need to simulate the network latency, which seems like a task for which tools will exist, but I don't have experience with them myself.

`lldb` <-> `proxy / buffer / router / random chaos generator` <-> `lldb-server`

I wonder what effort is required for that vs. putting this into lldb itself.

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


More information about the lldb-commits mailing list