You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run to cursor to a previously executed line results in a leaked breakpoint #7366
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
I understand this is a result of the implementation of RunToCursorAction, which basically creates a breakpoint at the specified location, continues the execution, and remove the breakpoint once it has been hit.
Steps to Reproduce:
Set a breakpoint and start debugging.
Select Run to cursor in the context menu for a line that won't be executed
Stop the program
Result: there is a leaked breakpoint where run to cursor was called.
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
Activity
edumunoz commentedon Jun 7, 2016
I opened PR #7367.
The best experience would also hide these breakpoints from the UI.
weinand commentedon Jun 8, 2016
Isidor Nikolic (@isidorn) we should clear all temporary breakpoints after the program has stopped again (step 3 from above)
Merge pull request #7367 from edumunoz/edumunoz/fix-leaking-bp-runcursor
weinand commentedon Jul 4, 2016
while verifying this I found #8731