Mu: Debugger breakpoint markers cannot be removed

Created on 12 Apr 2018  路  8Comments  路  Source: mu-editor/mu

When a debugger marker is placed on the marging and then the text is modified, the marker moves with the changes. When this happens then it's not possible to remove the markers anymore.

Gif showing the issue:

mu breakpoints

bug

All 8 comments

Yeah... tell me about it. ;-)

Next week I've set aside some (significant) time to fix the outstanding debugger related issues.

@ntoll to save us from future pain, would it be a good idea to only allow to add breakpoints when in debug mode, and have them all removed when the debug mode is closed?

Nope... you need to be able to add breakpoints before debugging so the debugger knows when to stop (otherwise it just runs the script, but slowly). I have some refactoring that'll fix this. Sorting out the debugger is my next thing to fix (probably tomorrow). :-)

Okay.

My reservation comes from having had issues with breakpoints moving around, in pretty much the mayority of IDEs I've used (open source and commercial ones, except maybe JetBrains). So unless we remove breakpoints when the text is edited, trying to folow changes could be one of those problematic areas with a lot of issues.

I hear ya!

When in debug mode, you can't edit the text anyway (for that very reason). Let me work on my refactoring and you'll be the first to know. ;-)

As always, feedback would be most welcome.

Cool, I'll give it a spin when it's ready :)

Well, I've already got it working this afternoon by changing my approach to how breakpoints are tracked. I've a bunch of debugger based changes taking place on this branch (they're all related/overlap in a sense) so when all the work/refactoring is done I'll definitely let people know. :-)

Fixed in af47bc1ba247856af88d5f504a448c8360ea3314

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hwiguna picture hwiguna  路  8Comments

mkarikom picture mkarikom  路  5Comments

ron333 picture ron333  路  3Comments

martinohanlon picture martinohanlon  路  5Comments

tibs picture tibs  路  8Comments