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

Halt with ctrl-C #2028

Closed
firelizzard18 opened this issue Apr 24, 2020 · 1 comment
Closed

Halt with ctrl-C #2028

firelizzard18 opened this issue Apr 24, 2020 · 1 comment

Comments

@firelizzard18
Copy link

I would like a way to halt delve after continuing. As far as I can tell, once I continue, my only options are wait for the program to exit, wait for a breakpoint, or kill the process.

When connected to a multiclient session, if I ctrl-C, I get the following prompt:

Would you like to [s]top the target or [q]uit this client, leaving the target running [s/q]?

I would like this to be extended to:

Would you like to [h]alt the target, [s]top the target, or [q]uit this client, leaving the target running [h/s/q]?
@aarzilli
Copy link
Member

The first option "stop the target" is actually what you want: it will pause the target process. I guess putting it next to an option that says "leaving the target running" makes it seem like it will kill the target. But it won't.

Changing it to "[h]alt the target" will be just as confusing, however (it's like the old "abort/retry/fail" prompt).

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

No branches or pull requests

2 participants