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

All breakpoints deleted on bad breakpoint deletion #105445

Closed
ariffjeff opened this issue Aug 26, 2020 · 5 comments
Closed

All breakpoints deleted on bad breakpoint deletion #105445

ariffjeff opened this issue Aug 26, 2020 · 5 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues info-needed Issue requires more information from poster

Comments

@ariffjeff
Copy link

Issue Type: Bug

Unfortunately I only have the information to reproduce half of this issue.

I found a breakpoint in my breakpoints tab that was assigned to a line that didn't exist in a file because the total amount of lines in that file was less than the line number that the problem breakpoint was assigned to. I don't know how the breakpoint became assigned to a non existent line.

I disabled and re-enabled the bad breakpoint in the breakpoints tab, then I deleted it, which caused all of my other breakpoints to become deleted.

Could some kind of safety check be implemented to prevent all breakpoints from being deleted in this case? Thanks!

VS Code version: Code 1.48.2 (a047975, 2020-08-25T10:13:11.295Z)
OS version: Windows_NT x64 10.0.18363

@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Aug 26, 2020
@weinand weinand removed their assignment Aug 26, 2020
@isidorn
Copy link
Contributor

isidorn commented Aug 27, 2020

Thanks for filling this issue. I can not reproduce. Can you reproduce using Visual Studio Code Insiders https://code.visualstudio.com/insiders/

@isidorn isidorn added info-needed Issue requires more information from poster and removed new release labels Aug 27, 2020
@ariffjeff
Copy link
Author

I don't think I'm going to be able to test it anymore at all as I don't know how to get a breakpoint to show up incorrectly on a nonexistent line. :( I guess this is just one of those rare enough things that can't be fixed.

@isidorn
Copy link
Contributor

isidorn commented Aug 27, 2020

Let's keep it open for a bit more, and if you hit it again please let us know. Thanks

@ariffjeff
Copy link
Author

Will do.

@isidorn
Copy link
Contributor

isidorn commented Sep 8, 2020

Closing this for now, and we can reopen if you see it again

@isidorn isidorn closed this as completed Sep 8, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants