I don't know if its a .NET application, but if it is then you should have a look at all your finalizers. Any unhandled exception in a finalizer will cause your application to disappear without warning or any chance to catch or recover (since this is happening on the GC's thread, not your app there isn't much else the runtime can do). I've seen the symptoms you describe a couple of times and both times an unhandled exception in the finalizer was the cause.
Cheers, Ben ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Preet Sangha Sent: Thursday, 4 August 2011 11:36 AM To: ozDotNet Subject: Re: Application crash Assuming that you have Intermec CN50s in the office, can you swap one of the customers ones for yours for testing? also I've not done it on mobile devices, but you might want to consider OutputDebugString (http://msdn.microsoft.com/en-us/library/ee488209.aspx) as your logger. Preet On 4 August 2011 15:23, David Richards <[email protected]<mailto:[email protected]>> wrote: Greetings all, I'm looking for some ideas on how I can debug a windows mobile app. The main difficulty being the application crashes without any logged exception, without an unhandled exception prompt and without a native exception prompt. It just disappears. It is apparently random, occurring at different points in the application each time. Our client is using about 5 instances of this on Intermec CN50s and regularly sees this happen. We have not had it happen once in our office. Currently, our next step is to trial it on a different device to rule out the device being the cause. I've already checked and rechecked the code for every thread in the app to make sure any exceptions will be caught (or should that be catched). I will be getting someone else to review the code for anything I may have missed but I don't have high hopes for this finding anything. I'm currently considering adding extremely detailed (and performance destroying) activity logging of all threads in the hope this will give me a clue. David "If we can hit that bullseye, the rest of the dominoes will fall like a house of cards... checkmate!" -Zapp Brannigan, Futurama This email is intended for the named recipient only. The information it contains may be confidential or commercially sensitive. If you are not the intended recipient you must not reproduce or distribute any part of this email, disclose its contents to any other party, or take any action in reliance on it. If you have received this email in error, please contact the sender immediately and delete the message from your computer.
