We need to debug .NET Full CLR and Core CLR applications running on production Windows servers, without the possibility of resorting to remote debugging (msvsmon), or installing a full IDE (Visual Studio/Visual Studio Core, ...).
How could we debug these applications?
A 64-bit version of MDbg can be retrieved via NuGet. It doesn't work with ASP.NET Core processes, either 32 or 64-bit.
Other observations:
- The version of MDbg retrieved through NuGet can be forced into 32-bit with
corflags /32BITREQ+ /Force Mdbg.exe
, which allows you to debug 32-bit Full CLR processes. - There is an open GitHub issue to port MDbg.exe to CoreCLR, which indicates that it's not currently available.