Introduce a debug mode that logs all first-chance exceptions
Open
Area: Debuggability
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 133
Description
Introduce a trait/environment variable which, when turned on, would subscribe to `AppDomain.CurrentDomain.FirstChanceExceptions` event and log messages for each first-chance exception happening in each process. This would be verbose, but could help catch really difficult issues where we have 0 errors, 0 warnings but the build failed.
See more inspiration and details here:
https://twitter.com/KirillOsenkov/status/1469388468824330241
and here:
https://github.com/KirillOsenkov/Bliki/wiki/First-chance-exceptions
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.