-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: document --abort-on-uncaught-exception #13931
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -178,6 +178,14 @@ added: v8.0.0 | |
Enable loading native modules compiled with the ABI-stable Node.js API (N-API) | ||
(experimental). | ||
|
||
## `--abort-on-uncaught-exception` | ||
<!-- YAML | ||
added: v0.10 | ||
--> | ||
|
||
Aborting instead of exiting causes a core file to be generated for post-mortem | ||
analysis using a debugger (such as `lldb`, `gdb`, and `mdb`). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't this dependent on system settings, e.g. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By 'this' I mean the generation of a core file. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, should I give some advice here on ulimit, or just say that it may generate a core file? |
||
|
||
### `--trace-warnings` | ||
<!-- YAML | ||
added: v6.0.0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion (feel free to take it or ignore it):
Abort the process and generate a core file if an uncaught exception occurs. The core file can be used for post-mortem analysis using a debugger such as
lldb
,gdb
, andmdb
.