[Lldb-commits] [lldb] [lldb] Add 'modify' type watchpoints, make it default (PR #66308)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 13 20:05:08 PDT 2023


================
@@ -0,0 +1,17 @@
+#include <stdint.h>
+int main() {
+  int value = 5;
+
+  value = 5; // break here
+  value = 5;
+  value = 5;
+  value = 5;
+  value = 5;
+  value = 5;
+  value = 10;
+  value = 10;
----------------
jasonmolenda wrote:

Good point.  I figured existing watchpoint tests would fail if that bug occurred, but it would be easy to test it here explicitly.

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


More information about the lldb-commits mailing list