-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
VSCode does not exit delve properly #29089
Comments
This may be a regression from microsoft/vscode-go#765 which fixed microsoft/vscode-go#438 |
Yes, VS Code terminates debug adapters "gracelessly" (and we are planning to make this more graceful in the future). |
This issue was moved to microsoft/vscode-go#1345 |
Steps to Reproduce:
Stop
, aka the red square or Shift+F5)delve
is the debugger for golang, or at least it's the one that the Go extension uses. When you debug something with delve, it creates a large binary file in the current directory. If you debug a main function (dlv debug
), you get 'debug'. If you debug a test function (dlv test
), you get 'debug.test'.In normal
delve
usage, when you're done, youquit
delve. Delve then deletes this file. Apparently VSCode gracelessly terminates (SIGKILL?) delve, which means the file sticks around.The text was updated successfully, but these errors were encountered: