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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to