Repository navigation
Fixes #7366 Remove leaked breakpoint after stopping with run-to-cursor - #7367
Conversation
|
By analyzing the blame information on this pull request, we identified Isidor Nikolic (@isidorn) and Erich Gamma (@egamma) to be potential reviewers |
|
Ed Muñoz (@edumunoz) clearing the temporary breakpoints at the end of the session seems to be rather late. Shouldn't they be cleared on the next StoppedEvent? |
That's already being done (
I consider these breakpoints an implementation detail. The user never set any breakpoints for this to work, so why show any? |
|
I'm in violent agreement that the 'run-to-cursor' breakpoints shouldn't be shown. I had mis-interpreted the original problem: I thought the bug was that a 'run-to-cursor' breakpoint was not cleared immediately on the next stop if it was not hit. And your PR would clear those breakpoints only at the very end of the session (instead of at the next StoppedEvent). In that case a user might lose track of them if they not shown. |
|
Ed Muñoz (@edumunoz) thanks for the PR! Sorry for the slow response I was on vacation. |
05b3539 to
494bbc0
Compare
494bbc0 to
d377857
Compare
|
Great work 🍻 |
Add a listener for the
exitevent as well to remove the generated breakpoint inRunToCursorAction.Isidor Nikolic (@isidorn) Andre Weinand (@weinand)