Disable hang dump generated by dotnet test

544 Views Asked by At

When I run dotnet test ... --blame-hang-timeout 2000 it generates a 'Hang Dump' which grows into gigabytes. This feature is available since .NET 5.0, and the Microsoft pages refer to a DUMP_TYPE. Because of this size, I want to disable the generation of this dump but keeping the --blame-hang-timeout. However, I don't see any information on this DUMP_TYPE. Is it possible to disable or limit the dump information?

0

There are 0 best solutions below