Got it thanks, Nic. Will think in a log thing to do it local ant testflighted.. I have yet a way to send a copy of sqlite database. So with few changes it could handle sending text files. It was in that way in Windows Mobile "anciently".
Karl From: Nic Wise <[email protected]> Date: quinta-feira, 13 de setembro de 2012 10:14 To: Karl Heinz Brehme Arredondo <[email protected]> Cc: "[email protected]" <[email protected]> Subject: Re: [MonoTouch] Best way to catch .NET crash with TestFlight Yes, they would. Or you could just setup a web service or something to receive it. Which is basically what testflight is anyway :) On Thu, Sep 13, 2012 at 1:55 PM, Karl Heinz Brehme Arredondo <[email protected]> wrote: > To email it, users need an email account configured on iPad? Just asking > because no all user has it's strange but is true.. > > Karl > > From: Nic Wise <[email protected]> > Date: quinta-feira, 13 de setembro de 2012 09:48 > > To: Karl Heinz Brehme Arredondo <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: [MonoTouch] Best way to catch .NET crash with TestFlight > > Could you log to a file, then email the file on startup? > > I do that too - works quite well so far, tho against something like > testflight, it always feels a bit hacky :) > > On Thu, Sep 13, 2012 at 1:31 AM, Karl Heinz Brehme Arredondo > <[email protected]> wrote: > > Hi Nic, I think I can't get the log with > > 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; > } > > Because it is crashing at ViewWillAppear on the first ViewController, and > maybe TestFlight can't get enough time to send "TestFlight.Log("Unhandled > Exception: " + ex.Message)" > > I put a 7,5 seconds to try to wait on unhanded crashes so waiting now for > the next unhanded to see if that made something but it's just a guess. > > I have the impression that TakeOff is to begin to TestFlight to do > something, like to begin a session. A lot of guesses to program, really > good. But I really want to see the ex.Message on TestFlight. > > Karl > > > From: Nic Wise <[email protected]> > Date: quarta-feira, 12 de setembro de 2012 16:43 > To: Karl Heinz Brehme Arredondo <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: [MonoTouch] Best way to catch .NET crash with TestFlight > > I do the catch etc around Main, and log to both a file and testlight, > and so far, it's worked. I've had crash reports go to testflight, but > they are just text ones, not the full crashdump (well, they might be, > I tend to want more info than a crashdump provides) > > I also call takeoff in finishedLaunching and also WillEnterForeground, > dont I dont know if thats needed. > > On Tue, Sep 11, 2012 at 10:56 PM, Karl Heinz Brehme Arredondo > <[email protected]> wrote: > > 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 > > > > > -- > Nic Wise > t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise > b. http://www.fastchicken.co.nz/ > > mobileAgent (for FreeAgent): get your accounts in your pocket. > http://goo.gl/IuBU > Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa > Earnest: Self-employed? Track your business expenses and income. > http://earnestapp.com > Nearest Bus: find when the next bus is coming to your stop. > http://goo.gl/Vcz1p > London Bike App: Find the nearest Boris Bike, and get riding! > http://goo.gl/Icp2 > > > > > -- > Nic Wise > t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise > b. http://www.fastchicken.co.nz/ > > mobileAgent (for FreeAgent): get your accounts in your pocket. > http://goo.gl/IuBU > Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa > Earnest: Self-employed? Track your business expenses and income. > http://earnestapp.com > Nearest Bus: find when the next bus is coming to your stop. > http://goo.gl/Vcz1p > London Bike App: Find the nearest Boris Bike, and get riding! > http://goo.gl/Icp2 > -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
