我的WPF程序占用内存很多,然后还会经常出现系统崩溃的,但没有异常信息。在App下面我加了三个事件。。一般都能发现系统中的错误。 AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
Application.Current.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(Current_DispatcherUnhandledException);
Dispatcher.UnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(Dispatcher_UnhandledException);
有没有其它的办法 去捕获异常信息。