Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear breakpoints only within the same file. #259

Merged
merged 3 commits into from
Feb 25, 2022

Conversation

kvinwang
Copy link
Contributor

@kvinwang kvinwang commented Mar 1, 2021

Trying to fix #230.

When user set/remove a breakpoint, code-debug will remove all breakpoints and then add back the ones within the same file. That cause the breakpoints in other files lost.
This patch is trying to fix it by removing only the ones within the same file.

kvinwang and others added 3 commits March 1, 2021 11:07
@GitMensch
Copy link
Collaborator

This looks reasonable to me, @brownts @WebFreak001 do you see any reason to not pull it in?

@brownts
Copy link
Collaborator

brownts commented Dec 5, 2021

Looks reasonable to me as well.

@GitMensch GitMensch merged commit 70e79ee into WebFreak001:master Feb 25, 2022
@GitMensch
Copy link
Collaborator

While I did not tested it @kvinwang obviously did, and we had an additional positive review - and it actually looks better to me then the original, too - so merged.
Thanks for your contribution!

Note: I'd still would like to see a refactoring of its use - see #306 (comment) - but that's a separate thing and possibly also a pure personal opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

breakpoints get deleted during disabling
4 participants