Hi..

Due to some unpredictable (and almost unreproducible) crashes in the
application, I finally put TestFlight SDK inside it (I didn't know it
exactly before).

The question is, what is the best way and why to send this crash log in a
way that could be understandable? I mean, it appear that the info at
TesfFlight was a little different that Xcode in a local test, with more info
(but not so good more info) in local crash log instead remote TestFlight
crash log.

I'd like to see something like .NET error to understand what was made and
where user was at crashŠ

I tried that, in Main.cs, found in a website that I don't remember now
(#shame):

TestFlight.TakeOff("xxxx");

try {

UIApplication.Main (args, null, "AppDelegate");

}

catch(Exception ex) {

TestFlight.Log("Unhandled Exception: " + ex.Message);

// rethrow to resume normal action on unhandeled exceptions......

// app crashŠ

// This do not logged nothing on TestFlight on crashes received



throw;

}


But in Github samples from Miguel, it is in AppDelegate.cs on
FinishedLaunching:

                public override bool FinishedLaunching (UIApplication app, 
NSDictionary
options)
                {
                        TestFlight.TakeOff("yyyy");

                        window = new UIWindow (UIScreen.MainScreen.Bounds);

                        viewController = new TestFlightSampleViewController
("TestFlightSampleViewController", null);

                        window.RootViewController = viewController;

                        window.MakeKeyAndVisible ();

                        return true;
                }

What is the best way to use TestFlight to get crash logs and how to get .NET
unpredictable error log?

Thanks,

Karl


_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to