From 3042772181ee8d1edc6091eade08315d53b735eb Mon Sep 17 00:00:00 2001 From: David Barbet Date: Tue, 9 Sep 2025 18:23:53 -0700 Subject: [PATCH] Collect full dumps on crash See https://learn.microsoft.com/en-us/dotnet/core/diagnostics/collect-dumps-crash#types-of-mini-dumps --- .../dotnetRuntime/dotnetRuntimeExtensionResolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lsptoolshost/dotnetRuntime/dotnetRuntimeExtensionResolver.ts b/src/lsptoolshost/dotnetRuntime/dotnetRuntimeExtensionResolver.ts index 43cf177588..24962673c3 100644 --- a/src/lsptoolshost/dotnetRuntime/dotnetRuntimeExtensionResolver.ts +++ b/src/lsptoolshost/dotnetRuntime/dotnetRuntimeExtensionResolver.ts @@ -99,7 +99,7 @@ export class DotnetRuntimeExtensionResolver implements IHostExecutableResolver { // Enable dump collection env.DOTNET_DbgEnableMiniDump = '1'; // Collect heap dump - env.DOTNET_DbgMiniDumpType = '2'; + env.DOTNET_DbgMiniDumpType = '4'; // Collect crashreport.json with additional thread and stack frame information. env.DOTNET_EnableCrashReport = '1'; // The dump file name format is ..dmp