I have a .NET application that I have ported to .NET Core. I am testing it on Ubuntu 14.04.
I am trying to figure out how to get a .dmp file or the Linux equivalent when the program crashes. I call Environment.FailFast
but as far as I can tell this doesn't generate a .dmp file like it does on Windows. Acording to this case Environment.FailFast
should be creating a dump but if it is I can't find it.
In addition I have tried manually creating a dump using gcore
. This works however it takes a long time to generate the dump (my application isn't that big) and I am unable to get the correct callstacks in gdb after the fact as when I point gdb to my application dll it doesn't recognize it.
What it he best way to get a dump of a .NET Core application on Linux?
Thanks!