[android-developers] Waiting for debugger force close (when USB is not attached)

2011-01-09 Thread akay
Hi All,

My app is in debuggable mode. On some occasions it crashes with the
message:
Waiting for debugger to attach...

This happens when my Tmobile G2 is not attached to computer.
When I plug inthe USB the message goes away.

Does anyone come across this problem with their app?

Regards,

AK

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Waiting for debugger force close (when USB is not attached)

2011-01-09 Thread Dianne Hackborn
Did you select your app to be debugged in the Development app preferences?
 (Same place you can set animation speed etc.)  It is just that setting that
causes an app to wait for a debugger (or being explicitly launched that way
from adb like the dev tools do.)

On Sun, Jan 9, 2011 at 2:06 PM, akay ak.kiet...@gmail.com wrote:

 Hi All,

 My app is in debuggable mode. On some occasions it crashes with the
 message:
 Waiting for debugger to attach...

 This happens when my Tmobile G2 is not attached to computer.
 When I plug inthe USB the message goes away.

 Does anyone come across this problem with their app?

 Regards,

 AK

 --
 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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en