Sunday, May 22, 2011

[android-developers] Debugging Killed Activity

I have an activity that launches the built in camera activity to
capture a picture. My activity is often killed while the camera is
running, so I'm using onSaveInstanceState and onRestoreInstanceState
to save field values.

Anyway, it crashes while restoring the state, but when it's killed the
debugger detaches, so when it's restarted after the camera is done, I
don't have a debugger to see what's causing the crash. I know what
function is causing the crash but I can't see the problem just looking
at it.

Any ideas? Is there a way to get a core dump after the crash and run
the debugger on that?

Thanks.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate