Run to cursor to a previously executed line results in a leaked breakpoint
- VSCode Version: 1.2.0
- OS Version: OS X
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.

@isidorn @weinand
I opened PR https://github.com/Microsoft/vscode/pull/7367.
The best experience would also hide these breakpoints from the UI.
@isidorn we should clear all temporary breakpoints after the program has stopped again (step 3 from above)
while verifying this I found https://github.com/Microsoft/vscode/issues/8731