Skip to content

Run to cursor to a previously executed line results in a leaked breakpoint #7366

Closed

Description

@edumunoz
  • 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:

  1. Set a breakpoint and start debugging.
  2. Select Run to cursor in the context menu for a line that won't be executed
  3. Stop the program

Result: there is a leaked breakpoint where run to cursor was called.

runtocursorbug

Isidor Nikolic (@isidorn) Andre Weinand (@weinand)

Activity

  1. edumunoz commented on Jun 7, 2016

    @edumunoz
    Author

    I opened PR #7367.

    The best experience would also hide these breakpoints from the UI.

  2. weinand commented on Jun 8, 2016

    @weinand
    Contributor

    Isidor Nikolic (@isidorn) we should clear all temporary breakpoints after the program has stopped again (step 3 from above)

  3. added
    bug
    debug
    on Jun 8, 2016
  4. added a commit that references this issue on Jun 15, 2016
    7b33662
  5. weinand commented on Jul 4, 2016

    @weinand
    Contributor

    while verifying this I found #8731

  6. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugdebugverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions