anatawa12 wrote:

> I'm less sure about this one. Is that due to the breakpoint exception somehow 
> remaining "pending" and that we need to clear/ignore/suppress it before 
> detaching?

Sorry I don't know the reason of this behavior, but not calling corresponding 
ContinueDebugEvent for WaitForDebugEvent may cause crash is what I know.

It looks leaving some "pending" events / exceptions in queue doesn't trigger 
problem, but leaving "processing" events / exceptions would cause this problem.

---

I misunderstand the behavior a little. 

Sorry for confusion again.
In my previous comment, I said "It think this bug will always happen on 
detaching process" for second bug but I found that this bug depends on the 
implementation of target process and a.out from TestDetachResumes would not 
have this problem.
I fixed the previous comment.

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

Reply via email to