[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:40:25 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:
Can we check that it stops when the value changes from 10 to something else to ensure we detect all watchpoint changes and we can ensure that m_new_value_sp and newest_valueobj_sp are doing their jobs correctly? We need to make sure we stop on all changes, here we are testing on change
https://github.com/llvm/llvm-project/pull/66308
More information about the lldb-commits
mailing list