2
我的应用程序意外崩溃了,我没听清楚是什么任何异常......我已经注册的处理程序:xamarin.mac应用程序崩溃报告
static void Main (string [] args)
{
NSApplication.Init();
NSApplication.Main (args);
AppDomain.CurrentDomain.UnhandledException += HandleUnhandledException;
}
static void HandleUnhandledException (object sender, UnhandledExceptionEventArgs e)
{
//Log the exception...
FileHelper.CreateLogFile ("app crash", e.ExceptionObject.ToString());
}
但它不叫。
而且,我看不到里面的任何报告:
〜/图书馆/日志/ DiagnosticReports
有没有办法看到我的应用程序的崩溃报告?