xamarin.ios - Why is Exception StackTrace null in MonoTouch 4 running on device? -
i've updated mt 4.0.1 3.2.6. seems exception reports no longer contain stack traces when running on device.
i have exception handler attached appdomain.currentdomain.unhandledexception use save exception report file. on simulator in both debug & release modes, unhandledexceptioneventargs.exceptionobject.stacktrace set. on device in both debug & release modes property null.
i have tried checking "emit debugging information" in "compiler" section of project options. have tried adding "--nosymbolstrip" mt build args. have tried llvm both enabled , disabled.
any ideas? not able update in app store until we're confident exception reports receive contain necessary diagnostic info.
what information exceptionobject.tostring() provide? should include error message , stack trace. know has been working me, b/c used submit bug novell.
also, might want wrap try-catch around app startup in static void main()
, appdomain.unhandledexception meant used off-thread exceptions.
Comments
Post a Comment