[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


https://github.com/clayborg commented:

Since users probably want a behavior like GDB by default, one idea is to just add a setting:
```
(llldb) settings show target.watchpoint-stop-on-write [always|changed]
```
When watchpoints are set, they just read the current value for this. Most of your internal code in this patch can stay the same. This allows LLDB to do what most people want by default and would require no changes to the command line command options or any API changes.

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


More information about the lldb-commits mailing list