All breakpoints deleted on bad breakpoint deletion #105445
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
info-needed
Issue requires more information from poster
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
The text was updated successfully, but these errors were encountered: