简体   繁体   中英

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?

在此输入图像描述 在此输入图像描述

@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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM