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

src,lib: make ^C print a JS stack trace #29207

Closed
wants to merge 1 commit into from

Commits on Jan 25, 2020

  1. src,lib: make ^C print a JS stack trace

    If terminating the process with ctrl-c / SIGINT, prints a JS stacktrace
    leading up to the currently executing code.
    
    The feature would be enabled under option --trace-sigint.
    
    Conditions of no stacktrace on sigint:
    
    - has (an) active sigint listener(s);
    - main thread is idle (i.e. uv polling), a message instead of stacktrace
      would be printed.
    legendecas committed Jan 25, 2020
    Copy the full SHA
    df403e3 View commit details
    Browse the repository at this point in the history