How to Dump a .NET Core Application on Linux : <p>I have a .NET application that I have ported to .NET Core. I am testing it on Ubuntu 14.04.</p>

<p>I am trying to figure out how to get a .dmp file or the Linux equivalent when the program crashes. I call <code>Environment.FailFast</code> but as far as I can tell this doesn't generate a .dmp file like it does on Windows. Acording to <a href="https://github.com/dotnet/coreclr/issues/1321">this case</a> <code>Environment.FailFast</code> should be creating a dump but if it is I can't find it.</p>

<p>In addition I have tried manually creating a dump using <code>gcore</code>. 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.</p>

<p>What it he best way to get a dump of a .NET Core application on Linux?</p>

<p>Thanks!</p>
