Did anyone ever manage to generate dumps by using createdump on Windows?
While most related documents are around Linux, in the official document talking about createdump it is said that this utility and the environment variables are supported on Windows:
Windows
As of .NET 5.0, createdump and the below configuration environment variables are supported on Windows. It is implemented using the Windows MiniDumpWriteDump API. This allows consistent crash/unhandled exception dumps across all of our platforms.
However when I tried set COMPlus_DbgEnableMiniDump=1 and then trigger a crash, there is no dump file generated. I also tried using the default location %TEMP%\dump.%p.dmp or a customized folder such as D:\Dumps\%e.%p.dmp but still no luck.
In Twitter there is a posting talking about using createdump with NT AUTHORITY\SYSTEM, but I think that NT AUTHORITY\SYSTEM is far too much for this.