Wednesday, October 3, 2012

Android Rise-From-Dead Debugging

Just a quick note for any Android developers about a useful method for debugging problems that can come up when the OS decides to kill your app, and the user navigates back to it.

Using the DDMS tool in Eclipse you can find your running process while debugging and hit stop to simulate what happens when the OS does so. Unfortunately though, this kills the debugging session that you had going. You can then navigate back to the app on your device and reconnect the debugger through DDMS as it starts though.

Debugging crashes when activities are reloaded are still a pain, but this method at least makes it manageable.


  1. Haha, nice. You managed to just barely prevent the full year going by without a post. Good save.

  2. Nice post.Give it up. Thanks for share this article. For more visit:android development