dotnet/msbuild

Last-chance exception handling could indicate how it was called

Open

#1,043 opened on Sep 19, 2016

 (0 comments) (0 reactions) (0 assignees)C# (1,364 forks)batch import
Area: Debuggabilityhelp wantedtriaged

Repository metrics

Stars
 (5,062 stars)
PR merge metrics
 (PR metrics pending)

Description

There are many codepaths that can get to DumpExceptionToFile, which is a last-ditch effort to try to preserve some debugging information in the case of bad failures. It'd be great if it was easy to identify which path was used for a given exception dump. Knowing, for example, that this exception was caught by the AppDomain's UnhandledException handler versus an explicit catch somewhere could be useful information.

Contributor guide