Friday, April 27, 2012

[android-developers] How to debug Service/BroadcastReceiver and prevent Watchdog from killing process when stepping through the code?

I'm debugging on a device.

When setting a breakpoint in a process that runs a Service or a BroadcastReceiver on a spot in the code that is run on the main (UI) thread, the phone's watch-dog service kills the process, because I'm stepping through the code slowly. 

Is there a way, when in debug-mode, to stop the watch-dog service from killing the process that i'm debugging? 
It is very annoying when this happens or any debugging must be done very quickly (no more that 10 seconds total). 

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