[Lldb-commits] [lldb] [lldb] Fix crash after second run when set a previous watchpoint. (PR #136682)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 22 17:49:34 PDT 2025


jasonmolenda wrote:

This patch may be all that's necessary, I haven't reproduced the failure myself.  We'd really like to have a test for this to ensure it doesn't regress, I recently added a watchpoint API test to the testsuite as `lldb/test/API/functionalities/watchpoint/consecutive-watchpoints`, the only difference is that after you've set the watchpoint once, you'd want to `process.Kill()` and then `process = target.LaunchSimple(None, None, os.getcwd())` or something, to execute back to the breakpoint.

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


More information about the lldb-commits mailing list