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
Add "core dump" support to the runtime. #4408
Comments
Better yet, instead of tying this to unhandled exception, we want an API Something like: Environment.CreateCrashDump(path); The idea is that we might want this not only for crashes. It would be *Hibernating Rhinos Ltd * Oren Eini* l CEO l *Mobile: + 972-52-548-6969 Office: +972-4-622-7811 *l *Fax: +972-153-4-622-7811 On Fri, Jul 31, 2015 at 3:32 PM, OtherCrashOverride <
|
Environment.FailFast should result in Core dump generation. Is that not happening? |
I get core dumps both for unhandled exceptions that crash the app and for Environment.FailFast, though the defaults on my system mean I need to use something like I assume @ayende though is asking for the ability to generate a dump without crashing the proces, ala "Create dump file" with Task Manager on Windows. |
This shipped with 2.0 |
@lt72 How do I force a dump without killing the process, I've not been able to find it. |
@mikem8361: does our tool allows creating a dump without killing the process? |
You can attach gdb and run "generate-core-file ". I think you can detach without killing the process, but I'm not sure with gdb. If you have the createdump enabled (see doc) with the COMPlus_DbgEnableMiniDump=1 env var set before the program is run, you can send a SIGILL signal and that will tell coreclr to create a dump. This may not work in all situations and is not offically supported. |
The runtime should have a feature to perform a "core dump" when an un-handled exception occurs. This would assist debugging greatly in being able to view the state everything was in when the exception happened.
(Issue was previously part of #4402 )
The text was updated successfully, but these errors were encountered: