Skip to content

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

Description

@LMS007

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!

Activity

  1. added
    replIssues and PRs related to the REPL subsystem.
    on Sep 15, 2015
  2. LMS007 commented on Sep 15, 2015

    @LMS007
    Author

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

  3. jamen commented on Sep 15, 2015

    @jamen
    Contributor

    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.

  4. Trott commented on Sep 16, 2015

    @Trott
    Member

    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.

  5. LMS007 commented on Sep 16, 2015

    @LMS007
    Author

    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.

  6. added
    windowsIssues and PRs related to the Windows platform.
    on Sep 16, 2015
  7. bnoordhuis commented on Sep 16, 2015

    @bnoordhuis
    Member

    /cc @nodejs/platform-windows

  8. changed the title [-]Ctrl+C exists debugger from repl v4.0.0[/-] [+]Ctrl+C exits debugger from repl v4.0.0[/+] on Mar 27, 2016
  9. jasnell commented on Apr 2, 2016

    @jasnell
    Member

    is this still an issue?

  10. bzoz commented on May 19, 2017

    @bzoz
    Contributor

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    replIssues and PRs related to the REPL subsystem.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions