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

Ctrl+C exits debugger from repl v4.0.0 #2887

Closed
LMS007 opened this issue Sep 15, 2015 · 7 comments
Closed

Ctrl+C exits debugger from repl v4.0.0 #2887

LMS007 opened this issue Sep 15, 2015 · 7 comments
Labels
repl Issues and PRs related to the REPL subsystem. windows Issues and PRs related to the Windows platform.

Comments

@LMS007
Copy link

LMS007 commented Sep 15, 2015

I thought this was fixed, but I guess I'm still having this issue. Command-line debugging is painful enough, this needs to be fixed please!

@mscdex mscdex added debugger repl Issues and PRs related to the REPL subsystem. labels Sep 15, 2015
@LMS007
Copy link
Author

LMS007 commented Sep 15, 2015

^ I'm using gitbash with windows 7 (if that should matter)

@jamen
Copy link
Contributor

jamen commented Sep 15, 2015

In a lot of terminals (probably originating from Unix systems or earlier) this is by-design. On Unix, Ctrl+C sends a SIGINT signal to the program. So this has become kind of the general norm in terminal-based environments that Ctrl+C exits. I don't really think this is an issue. :P

Are you trying to copy text? Well, on the topic of "terminal norms", Ctrl+Shift+C is generally what most terminals seem to use to copy text out of them, usually Ctrl+Shift+[key] is the counterpart for Ctrl+[key] in a normal terminal environment.

@Trott
Copy link
Member

Trott commented Sep 16, 2015

On OS X, when I fire up the debugger, the first cntl-c results in a message telling me to hit cntl-c again if I want to exit. As long as I don't hit cntl-c twice in a row, it won't exit. Perhaps this issue is Windows-specific.

@LMS007
Copy link
Author

LMS007 commented Sep 16, 2015

Not trying to copy text, I'm just trying to close repl and go back to being able to step through the debugger. I have no way of doing that currently.

@bnoordhuis bnoordhuis added the windows Issues and PRs related to the Windows platform. label Sep 16, 2015
@bnoordhuis
Copy link
Member

/cc @nodejs/platform-windows

@Trott Trott changed the title Ctrl+C exists debugger from repl v4.0.0 Ctrl+C exits debugger from repl v4.0.0 Mar 27, 2016
@jasnell
Copy link
Member

jasnell commented Apr 2, 2016

is this still an issue?

@bzoz
Copy link
Contributor

bzoz commented May 19, 2017

I guess that #12123 solved this. If it still happens fell free to reopen the issue.

@bzoz bzoz closed this as completed May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repl Issues and PRs related to the REPL subsystem. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

7 participants