You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_crashInfoService??=_serviceProvider.GetService<ICrashInfoService>();// Use the default exception-based mechanism for obtaining crash info service
113
-
_crashInfoService??=_serviceProvider.GetService<ICrashInfoModuleService>()?.Create(DefaultModuleEnumerationScheme);// if the above fails, try to create a crash info service from the modules
124
+
_crashInfoService??=_serviceProvider.GetService<ICrashInfoModuleService>()?.Create(ModuleEnumerationScheme);// if the above fails, try to create a crash info service from the modules
114
125
return_crashInfoService;
115
126
}
116
127
}
@@ -141,6 +152,11 @@ private delegate int GetObjectInspectionDelegate(
ExtOut("CLRMA logging: %s\n", (g_clrmaGlobalFlags & ClrmaGlobalFlags::LoggingEnabled) ? "enabled (disable with '-disable -logging')" : "disabled (enable with '-enable -logging')");
113
132
ExtOut("CLRMA direct DAC support: %s\n", (g_clrmaGlobalFlags & ClrmaGlobalFlags::DacClrmaEnabled) ? "enabled (disable with '-disable -dac')" : "disabled (enable with '-enable -dac')");
114
133
ExtOut("CLRMA managed support: %s\n", (g_clrmaGlobalFlags & ClrmaGlobalFlags::ManagedClrmaEnabled) ? "enabled (disable with '-disable -managed')" : "disabled (enable with '-enable -managed')");
134
+
ExtOut("CLRMA module enumeration: %s\n", (g_clrmaGlobalFlags & ClrmaGlobalFlags::ModuleEnumeration_EntryPointModule) ? "Search for crashinfo on EntryPoint module (-enumScheme 1)" :
135
+
(g_clrmaGlobalFlags & ClrmaGlobalFlags::ModuleEnumeration_EntryPointAndDllModule) ? "Search for crash info on both EntryPoint and DLL with same name (-enumScheme 2)" :
136
+
(g_clrmaGlobalFlags & ClrmaGlobalFlags::ModuleEnumeration_AllModules) ? "Search for crash info on all modules (-enumScheme 3)" :
137
+
"Only read crashinfo from Exception if present (use -enumScheme 0)");
0 commit comments