How to Dump a .NET Core Application on Linux

后端 未结 4 1641
余生分开走
余生分开走 2021-01-07 19:12

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

4条回答
  •  清酒与你
    2021-01-07 19:41

    Good news!: Now you can install a tool to get the dump automatically.

    First you run dotnet tool install -g dotnet-dump then you can dotnet-dump [-h|--help] [--version]

    For more info and examples see: https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-dump

提交回复
热议问题