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

Breakpoints are kept on the same line when lines are added removed #1688

Closed
arp242 opened this issue Feb 27, 2018 · 0 comments · Fixed by #2126
Closed

Breakpoints are kept on the same line when lines are added removed #1688

arp242 opened this issue Feb 27, 2018 · 0 comments · Fixed by #2126

Comments

@arp242
Copy link
Contributor

arp242 commented Feb 27, 2018

This causes issues after running :GoDebugRestart, as it will now be on an unexpected line.

arp242 added a commit that referenced this issue Mar 21, 2018
Fixes #1688

Signs already get updated correct when adding/removing lines, so use
information from `:sign place` instead of keeping track of our own list
of breakpoints. This also makes sure that what the user sees always
matches with that Vim/Delve thinks should happen.

TODO: needs some more testing. I saw an error or two I didn't have
before.
@arp242 arp242 self-assigned this Mar 21, 2018
@arp242 arp242 removed their assignment Sep 3, 2018
bhcleek pushed a commit to bhcleek/vim-go that referenced this issue Jan 13, 2019
Fixes fatih#1688

Signs already get updated correct when adding/removing lines, so use
information from `:sign place` instead of keeping track of our own list
of breakpoints. This also makes sure that what the user sees always
matches with that Vim/Delve thinks should happen.

TODO: needs some more testing. I saw an error or two I didn't have
before.
bhcleek pushed a commit to bhcleek/vim-go that referenced this issue Jan 13, 2019
Fixes fatih#1688

Signs already get updated correct when adding/removing lines, so use
information from `:sign place` instead of keeping track of our own list
of breakpoints. This also makes sure that what the user sees always
matches with that Vim/Delve thinks should happen.

TODO: needs some more testing. I saw an error or two I didn't have
before.
bhcleek pushed a commit to bhcleek/vim-go that referenced this issue Jan 13, 2019
Fixes fatih#1688

Signs already get updated correct when adding/removing lines, so use
information from `:sign place` instead of keeping track of our own list
of breakpoints. This also makes sure that what the user sees always
matches with that Vim/Delve thinks should happen.

TODO: needs some more testing. I saw an error or two I didn't have
before.
bhcleek pushed a commit to bhcleek/vim-go that referenced this issue Jan 13, 2019
Signs already get updated correct when adding/removing lines, so use
information from `:sign place` instead of keeping track of our own list
of breakpoints. This also makes sure that what the user sees always
matches with that Vim/Delve thinks should happen.

Stop removing breakpoints when debugging stops.

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

Successfully merging a pull request may close this issue.

1 participant