Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Breakpoint should probably disappear when debugger disabled #3093
When the debugger is enabled you can add and remove breakpoints. Once you disable the debugger, however, the breakpoints still appear in the IDE. Because you can no longer add or remove or use these breakpoints I think they should not visually remain in the IDE unless you re-enable the debugger.
Now that clicking the line numbers works to add a breakpoint I'm coming back here to revisit this issue. While I understand this is not the convention, it feels to me that the breakpoints should not be visible when the debugger is disabled as they no longer play a role. . this is also a further indication to the user regarding the enable/disable status of the debugger which I find useful.
I also feel that you should not able to add and remove breakpoints when the debugger is disabled (currently in 3.0a9 you can). I think this will cause problems if a first-time user starts clicking on line numbers well before they are ready for the debugger and wonders what's going on.
I would also personally like to see lines with breakpoints highlighted a bit more strongly (the