-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
win: coredumps with --abort-on-uncaught-exception #7733
Comments
@gibfahn I don't know if WER can be used to generate a dump (that MSDN page says so, but I had the same luck as you). You can accomplish this by using Visual Studio: Open the Start the debugger and it will stop on the v8 abort. From the |
Thanks @joaocgreis, that sounds like the easiest graphical way. I've been trying to script the coredumps though, so I've been looking for a command line utility. It looks like the easiest way is with procdump. I've managed to get a dump file (extension .dmp) with the following command:
Doesn't look like v8 supports core dumps on Windows natively, so I guess there's no easier method than downloading procdump (which is at least a 600kb Microsoft Sysinternals standalone .exe). |
Looks like this commit in V8 may add coredumps for windows. not sure whether it would work with Discussion: https://groups.google.com/forum/#!topic/v8-dev/-WQike4xUp8 Commit: v8/v8@49c14f6 (original https://chromium.googlesource.com/v8/v8/+/49c14f63ef1ea94b8d7b5a9dfe939b2dbc02e42e) |
@ofrobots I know it's a long shot, but do you know if it is now possible to get core dumps in Windows in node with |
It's only been a year #13947 (comment) |
Ref: this comment by @mscdex: #6121 (comment)
I've been attempting to get a coredump with
node --abort-on-uncaught-exception test.js
on Windows. The test fails as expected, but I'm not sure whether the core has been generated and where to find it.I've checked
%localappdata%\Microsoft\Windows\WER
.I checked the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
and there wasn't aLocalDumps
key. I've manually added one following these instructions and then rebooted. However I haven't found anything inC:\Gib
.I assume this is a setup problem, but can anyone confirm that it is actually possible to get a core dump from Windows.
cc. @orangemocha
Registry Setup
Test Output
Test.js
The text was updated successfully, but these errors were encountered: