Android issue : Debug when phone off
android, broadcastreceiver, eclipse
Solution
probably this is not the best way, but i had a similar problem and i used a sleep function of 30 seconds just at the beginning of the boot receiver onReceive method, so i had the time to go to the process list in DDMS perspective and put my app in debug mode, so the breakpoint on the first real instruction of the onReceive method it went hitted. hope this help
Problem
To Debug BroadcastReceiver when phone restart, I've tried Some Method but doesn't works and link as follow How to debug BOOT_COMPLETE broadcast receiver's "Force Close" crashes? force-close-crashes