I'm debugging Alarm Clock application in android emulator (Google API
level 8) in Eclipse. Breakpoint is set in
com.android.alarmclock.AlarmReceiver.onReceive(). Few seconds after
this breakpoint is hit, remote debugger disconnects and I see an
exception in LogCat (below). It looks like android system decided that
that broadcast receiver was taking too long to process the intent...
Is there a way to disable this type of behavior for the purpose of
debugging?
WARN/ActivityManager(66): Failure sending broadcast Intent
{ act=android.intent.action.TIME_TICK flg=0x40000004 (has extras) }
WARN/ActivityManager(66): android.os.DeadObjectException
WARN/ActivityManager(66): at
android.os.BinderProxy.transact(Native Method)
WARN/ActivityManager(66): at android.content.IIntentReceiver$Stub
$Proxy.performReceive(IIntentReceiver.java:121)
WARN/ActivityManager(66): at
com.android.server.am.ActivityManagerService.performReceive(ActivityManagerService.java:
12957)
WARN/ActivityManager(66): at
com.android.server.am.ActivityManagerService.deliverToRegisteredReceiver(ActivityManagerService.java:
13019)
WARN/ActivityManager(66): at
com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java:
13219)
WARN/ActivityManager(66): at
com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:
12817)
WARN/ActivityManager(66): at android.app.ActivityThread$PackageInfo
$ReceiverDispatcher$Args.run(ActivityThread.java:914)
WARN/ActivityManager(66): at
android.os.Handler.handleCallback(Handler.java:587)
WARN/ActivityManager(66): at
android.os.Handler.dispatchMessage(Handler.java:92)
WARN/ActivityManager(66): at android.os.Looper.loop(Looper.java:
123)
WARN/ActivityManager(66): at
com.android.server.ServerThread.run(SystemServer.java:506)
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en