[Lldb-commits] [lldb] [lldb] Add 'modify' type watchpoints, make it default (PR #66308)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 13 19:41:32 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;
----------------
clayborg wrote:
We could change it back to 5 to ensure that the watchpoint detects when we change from 5 to 10 (and stops) and then back to 5 (it should stop again because it changed from 10 to 5).
https://github.com/llvm/llvm-project/pull/66308
More information about the lldb-commits
mailing list