I am testing the onsave/onrestore mthods of my android application.

To do this I phone my device and see that it kills the process and then I hang up. :) I see that it restarts the application.

Question is: how do I cause it to restart in debug mode so I can step through the restore process? Is there a way to tell it to automatically attach to the debugger when starting up?

Edit
Report