J2ME: How to inspect application's crash which doesn't throw any visible exception?
I develop multimedial application within the Java ME platform. It's application usable for voice recording and after replaying. I have treated many pieces of code by try/catch block, which should provide an alert in the case an exception occured. The application works fine on java emulator but on Symbian phone it seems fine but the application crashes after some minutes of working without any message and also without any system message. It just falls down, th开发者_JS百科e application is abruptly terminated.
Is there any way how to find where's the problem? I've tried to surround all big pieces of code by try/catch block but the result is same.
Thanks for you advice
I recommend using the Symbian on device debugger or tracing on the device to determine the exact location of the problem.
You can log to file on the device every step that you make before it stops and after like "I'm doing XYZ" with timestamps and other stuff like variables values then try to figure out what is going on. Of course You'll get only stuff that happened before crash but it can give You some new info.
精彩评论