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

No way to pause the execution of a program running inside the debugger #2337

Closed
aarzilli opened this issue Jun 4, 2019 · 2 comments · Fixed by #2983
Closed

No way to pause the execution of a program running inside the debugger #2337

aarzilli opened this issue Jun 4, 2019 · 2 comments · Fixed by #2983
Labels
Milestone

Comments

@aarzilli
Copy link

aarzilli commented Jun 4, 2019

What did you do? (required: The issue will be closed when not provided)

Debugged https://github.com/aarzilli/delve_client_testing/blob/master/06manualstop/main.go, used GoDebugContinue twice to start the program.

What did you expect to happen?

Expected to see the program output and have some way to pause its execution

What happened instead?

No output from the program gets shown in the output window, vim appears frozen, pressing ^C a few times restores control to the editor but not to the debugger.

Configuration (MUST fill this out):

vim-go version:

1.20

vimrc you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):

vimrc

Vim version (first three lines from :version):

VIM - Vi IMproved 8.1 (2018 May 18, compiled May 27 2019 13:46:23)
Included patches: 1-1408
Modified by jonathon.fernyhough@york.ac.uk

Go version (go version):

go version go1.12.4 linux/amd64

@bhcleek
Copy link
Collaborator

bhcleek commented Sep 13, 2019

Does delve support pausing an application? I've looked, but maybe I'm missing it.

@aarzilli
Copy link
Author

RPCServer.Command with name=halt

@bhcleek bhcleek added this to the vim-go 1.24 milestone Jun 14, 2020
bhcleek added a commit to bhcleek/vim-go that referenced this issue Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants