Tyrrrz/DotnetRuntimeBootstrapper

`AppDomain.CurrentDomain.UnhandledException` doesn't get called

Open

#27 aperta il 7 feb 2022

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C# (18 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (327 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Version

ver 2.1.0

Details

According to #23 I've made this little project: UnhandledExceptionsRepro.zip

The problem is that the AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; event handler doesn't get called when using DotnetRuntimeBootstrapper. I think the sample app is very easy to understand, so I don't think it needs more explanation here (I also added comments).

Steps to reproduce

Just click the button and read the comments.

Guida contributor