I've read about MONO_ENV_OPTIONS flag which should perhaps invokes the debugging of the app even if no debugger is attached but couldn't get this to work with: StackTrace: at () () Ĭompiler Debug Information for the project I've set to Full, the APK is compiled in DEBUG mode (assuming MDB files are copied into the APK if this works with the debugger attached). However, when I disconnect the device and run the app without the debugger attached, I get in my log file: This works when I compile the app in Debug mode and run from Xamarin Studio with the debugger attached on a physical device (not tested in emulator). StackTrace: at () in /testapp/TestActivity.cs:4Ĭlearly showing the filename and the line where the exception has occurred. When I run this obviously wrong code in order to trigger an exception (Logger is my helper class writing to a log file):Įxception: Object reference not set to an instance of an object
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |