omjavaid wrote:

> > Yes I think there might be a Windows API launch flag that can let us do 
> > early detection of hardware breakpoints and watchpoints. But so far after 
> > lots of experimentation I have not been able to find the right set.
> 
> Is it possible this is a bug in Windows itself? Though it seems unlikely 
> given that Visual Studio supports WoA.
> 
> I'm not sure about merging this until we know more about that part, at least 
> whether it's a bug or not. Perhaps we (Linaro) can get some information from 
> Microsoft on this?

So further update from my offline (out of LLDB) testing with windows API and 
setting hardware breakpoints suggest that we might be doing something different 
on LLDB side during launch or while setting hardware breakpoints/watchpoints 
that stops us from hitting those exceptions. 

In simple console based debugger I have played with Windows API and set 
hardware breakpoints and found a good configuration that works.

I will keep debugging this might get to fix it on LLDB side as well. And will 
talk to our friends at MS at some stage for any clarifications that might be 
needed.

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

Reply via email to