question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot remove old breakpoint from an empty line.

See original GitHub issue

Get 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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Roy-Orbisoncommented, Oct 27, 2017

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.

1reaction
Taluucommented, Aug 29, 2017

Found that. Also useful for when a breakpoint does not want to be removed even though it’s on a code line.

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…

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found