dotnet/msbuild

Last-chance exception handling could indicate how it was called

Open

#1,043 opened on Sep 19, 2016

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

Repository metrics

Stars
 (5,062 stars)
PR merge metrics
 (Avg merge 11d 7h) (125 merged PRs in 30d)

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