Cannot remove old breakpoint from an empty line.
See original GitHub issueGet this error message: Cannot set a breakpoint on an empty line
Toggling should always allow removal based on line’s sign, only chucking an error if one’s trying to add to an empty line.
Also consider emulating browser debuggers which add a marker to the next available non-empty line. If you’re feeling really fancy, “animate” another sign type (so as not to affect actual breakpoint signs) with the same sign style, down to that line by progressively toggling it on and off preceding lines.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
visual studio - can't remove breakpoint - Stack Overflow
Go to the Breakpoints pane (Debug, Windows, Breakpoints) and delete it from there. Share.
Read more >1549922 - Can't remove phantom breakpoints
I set a new breakpoint in a different JS file, saw it appear in the list of breakpoints, and its line indicator was...
Read more >Troubleshoot Breakpoints in the Visual Studio Debugger
To modify this setting for all breakpoints, go to Debug > Options and Settings. On the Debugging/General page, clear the Require source files ......
Read more >Remove empty lines from code – IDEs Support (IntelliJ Platform)
Hello. I can't find action in PHPStorm to remove empty lines from code. I get project that have many empty lines that are...
Read more >Debugging with gdb - Stopping and Continuing
... a breakpoint, or reaching a new line after a GDB command such as step . You may then examine and change variables,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @Taluu, I now see what line breakpoints are actually on, from the
:BreakkpointWindow, and toggling it on the listed line removes the erroneous mark.It’s when you add another line of code before the breakpoint line. Adding a line before said breakpoint should imo either shift the breakpoint (best UX solution imo) or delete it automatically…