我正在为使用Xamarin(适用于Visual Studio 2015)的Android应用程序工作。如何调试崩溃应用程序
当我在调试模式下运行我的应用程序时,有时应用程序停止并显示消息“MyApplication has stopped”。
我在MainActivity中添加以下代码:
// Catch Exception
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
AndroidEnvironment.UnhandledExceptionRaiser += AndroidEnvironment_UnhandledExceptionRaiser;
我加断点两种功能添加日志,但我看不出有什么痕迹,日志和断点没有达到。
如何调试此类问题?