[Lldb-commits] [lldb] [lldb] Ignore notification packets (PR #204788)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 19 07:16:47 PDT 2026
DavidSpickett wrote:
I have a test case in https://github.com/llvm/llvm-project/pull/204834 that you can take and modify as you please.
You can run it with:
```
./bin/lldb-dotest -p TestIgnoringNotifications.py -t
```
`-t` turns on trace which in this case shows you the packet log which is useful.
I've checked it fails before your change if I send a single notification before the real result. After the change it passes.
However, if I send multiple notifications, lldb hangs. I'm not sure where but I wonder if the logic to pull a packet from the buffer is pulling only one unexpected packet, rather than all of them, when it searches for the expected packet.
Hopefully now you have a test case it'll be easier for you to find that.
https://github.com/llvm/llvm-project/pull/204788
More information about the lldb-commits
mailing list