Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silencing "An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module" error

I'm getting this error while debugging two background tasks that access an Entity Framework DB. Running just one background task does not seem to trigger the error message. I can't really tell what the issue is because everything is working fine except for the breaking error message that pops up during debug.

It would be great if I can find out why this is happening (the other questions related to this message are unsolved), but the more important thing is turning the error notification off. I am not sure why I am getting the error in the first place because I do not have anything checked in my exception settings. Does anyone know how?

enter image description here enter image description here

like image 741
Tyress Avatar asked Dec 19 '25 05:12

Tyress


1 Answers

@Tyress, you cannot turn off notifications for unhandled exceptions while debugging. Since unhandled exceptions typically result in application crashes, the debugger will always break when they are encountered.

like image 196
John Avatar answered Dec 20 '25 19:12

John



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!