Closed emilykmarx closed 3 weeks ago
I tried the same thing with the native backend (added CLI session for that to the gist) -- same issues with could not clear out-of-scope watchpoint
and went out of scope and was cleared
, with a few differences (the expected hit for index 3 doesn't happen, and restart gives breakpoint 3 can not be enabled
for index 1)
Thanks for fixing!
dlv version
)? Backend=rr (5.7.0), on the recent commit with fixes for rr 5.7.0 (https://github.com/go-delve/delve/commit/7c7265f4e68a333bb084217e7b7ae065024e428b)go version
)?go1.20.1 linux/amd64
I’m noticing stack watchpoints aren’t cleared the way I’d expect. The CLI session and the target file are in this gist: https://gist.github.com/emilykmarx/c9bb39fdefd2ac8cfb843d53e867a12d, but as a summary:
could not clear out-of-scope watchpoint
went out of scope and was cleared
message appears twice for index 3, and does not appear for index 1 (0xc000051f18)