My app has a bug on certain activities: when it restarts (when it\'s killed and then opened again with multitasker), it crashes. I assume it has something to do with my sing
You can add the following code to the onCreate() method of your main activity:
android.os.Debug.waitForDebugger();
This will pause your app till a debugger is attached to the process.
Then :