0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
legendecas 7b7e7bd185
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.

PR-URL: https://github.com/nodejs/node/pull/29207
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Christopher Hiller <boneskull@boneskull.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-01-28 13:52:27 +08:00
..
api src,lib: make ^C print a JS stack trace 2020-01-28 13:52:27 +08:00
api_assets doc: enable visual code indication in headers 2020-01-26 08:08:17 -08:00
changelogs 2020-01-21, Version 13.7.0 (Current) 2020-01-21 09:58:13 -08:00
guides doc: de-duplicate security release processes 2019-12-31 09:44:25 -08:00
.eslintrc.yaml
abi_version_registry.json src: update NODE_MODULE_VERSION to 81 2019-11-08 15:46:34 +01:00
first_timer_badge.png
full-white-stripe.jpg
node.1 src,lib: make ^C print a JS stack trace 2020-01-28 13:52:27 +08:00
offboarding.md doc: use consistent indenting for unordered list items 2019-09-03 20:55:39 -07:00
onboarding-extras.md doc: add blanks around code fences 2019-08-31 15:31:13 -07:00
onboarding.md doc: remove "make that" from onboarding.md 2019-06-23 07:07:14 -07:00
osx_installer_logo.png
releases.md doc: update signature algorithm in release doc 2019-12-02 06:26:30 +01:00
STYLE_GUIDE.md doc: add "Be direct." to the style guide 2019-12-15 13:16:56 -08:00
template.html doc: specify display=fallback for Google Fonts 2019-09-26 22:46:34 -07:00
thin-white-stripe.jpg