Fix enable/disable of verified breakpoints if moved#9479
Fix enable/disable of verified breakpoints if moved#9479paul-marechal merged 1 commit intoeclipse-theia:masterfrom
Conversation
Signed-off-by: thegecko <rob.moran@arm.com>
| let breakpoints = raw && this.doRemove(this.origins.filter(origin => !(origin.raw.line === raw.line && origin.raw.column === raw.column))); | ||
| if (breakpoints) { | ||
| // Check for breakpoints array with at least one entry | ||
| if (breakpoints && breakpoints.length) { |
There was a problem hiding this comment.
OK, are you saying this re-introduces a regression?
There was a problem hiding this comment.
OK, are you saying this re-introduces a regression?
No :) Just saying that it doesn't fix #8222 entirely (only fixes it for single breakpoints).
There was a problem hiding this comment.
Aha! thanks. Just a little bit better, then. Shame
Is this specific to rhyming logpoints? 😄 I'll take a look later today. |
There was a problem hiding this comment.
I confirm that it fixes #8222, but only when dealing with one breakpoint. If I add more breakpoints and try to disable those, it will remove them until only one is left. Super weird.
I guess this change improves things a little bit. If you are happy with that I am not against approving and merging.
Yeah, its a step in the right direction, sorry it wasn't the golden bullet we'd hoped for. Shall we get it in? |


Signed-off-by: thegecko rob.moran@arm.com
What it does
This PR fixes the issue of not being able to enable/disable verified breakpoints if they have moved their location.
This is as mentioned in: #8222 (comment)
@marechal-p this may also fix the issue you've seen in #8222 , but I've been unable to verify that.
How to test
Review checklist
Reminder for reviewers