我创建了一个 WPF 应用程序,该应用程序有时会因应用程序错误而崩溃,modname = awesomium.dll
我的 app.xaml.cs 中有全局捕获和尝试块
public App()
: base()
{
this.Dispatcher.UnhandledException += OnDispatcherUnhandledException;
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += OnAppDomainUnhandledException;
}
但是 awesomuim.dll 错误似乎绕过了这个并且无论如何都会使应用程序崩溃
我们是否知道如何停止 XP 上的随机崩溃或为 Awesomium 添加应用程序范围的错误捕获器