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

cmd/dlv: handle ctrl-c during tracing #3477

Merged
merged 3 commits into from Aug 23, 2023

Conversation

derekparker
Copy link
Member

Ensure we send a Halt command to stop the process being traced so that the deferred Detach can run ensuring proper cleanup upon exit.

Fixes #3228

Ensure we send a Halt command to stop the process being traced so that
the deferred Detach can run ensuring proper cleanup upon exit.

Fixes go-delve#3228
@aarzilli aarzilli merged commit 5f01e72 into go-delve:master Aug 23, 2023
0 of 2 checks passed
@derekparker derekparker deleted the trace-interrupt branch November 7, 2023 14:08
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.

killing delve started with trace --ebpf does not kill the debugged program
2 participants