[lldb] [llvm] [lldb][Windows] WoA HW Watchpoint support in LLDB (PR #108072)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 03:22:28 PST 2025


DavidSpickett wrote:

I want to be 100% sure of the status of this issue:

> Initial Stop Behavior: Hardware breakpoints or watchpoints set on the initial stop do not trigger, even though they are correctly written to the Windows context. They only trigger if set after the main program has started. This issue causes the test suite to fail when it attempts to set hardware breakpoints on the main function before running, as these do not get triggered.

This is a problem with watchpoints too, right?

I can see an argument that says code breakpoints are much more likely to be placed before the initial stop, so watchpoints are still useful even with this limitation and this PR should still be merged.

But please open an issue for that, describing the problem and as far as you know. why it might be occurring. It will give us something to "mark as duplicate" :)

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


More information about the llvm-commits mailing list