Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent behaviour of 'Run to Cursor' #8731

Closed
weinand opened this issue Jul 4, 2016 · 0 comments
Closed

Inconsistent behaviour of 'Run to Cursor' #8731

weinand opened this issue Jul 4, 2016 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Jul 4, 2016

  • VSCode Version: 1.3.0

Steps to Reproduce:

  • use this snippet:

    for (var i = 0; i < 100; i++) {
      // console.log("hello 1");
      console.log("hello 2");
      console.log("hello 3");
    }
  • set a breakpoint in line with 'hello 3'

  • start debugging (hit breakpoint in line with 'hello 3')

  • set caret in line with 'hello 2' and execute 'Run to Cursor'

Observe: line with 'hello 2' is hit and no breakpoint icon is shown for that line

  • set caret in line with 'hello 1' and execute 'Run to Cursor'

Observe: line with 'hello 2' is hit and a breakpoint icon is shown for that line

I wold expect that no breakpoint is kept after a 'Run to Cursor'

@weinand weinand added bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues labels Jul 4, 2016
@isidorn isidorn added this to the July 2016 milestone Jul 4, 2016
@isidorn isidorn closed this as completed in d84775c Jul 6, 2016
@joaomoreno joaomoreno added the verified Verification succeeded label Jul 28, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants