Hi chrispix, Did you manage to solve this? i've followed all the steps and have exactly the same problem
here's the relevent part of my log, I think "ERROR: thread attach failed" must be the related problem, but not sure why? 01-13 22:38:14.829: ERROR/AndroidRuntime(1554): ERROR: thread attach failed 01-13 22:38:14.879: INFO/ActivityManager(51): Start proc com.basementajax.DroidMass for activity com.basementajax.DroidMass/.DroidMass: pid=1571 uid=10055 gids={1006} 01-13 22:38:14.899: DEBUG/dalvikvm(1554): LinearAlloc 0x0 used 541332 of 4194304 (12%) 01-13 22:38:14.959: INFO/dalvikvm(1571): Ignoring DDM send req for type=0x41504e4d len=38 01-13 22:38:14.999: INFO/dalvikvm(1571): Ignoring DDM send req for type=0x41504e4d len=56 01-13 22:38:14.999: WARN/ActivityThread(1571): Application com.basementajax.DroidMass is waiting for the debugger on port 8100... 01-13 22:38:15.019: INFO/System.out(1571): Sending WAIT chunk 01-13 22:38:15.029: INFO/dalvikvm(1571): Ignoring DDM send req for type=0x57414954 len=1 01-13 22:38:15.379: INFO/ActivityManager(51): Stopping service: com.android.vending/.PackageMonitorReceiver $UpdateCheckinDatabaseService 01-13 22:38:24.771: WARN/ActivityManager(51): Launch timeout has expired, giving up wake lock! 01-13 22:38:24.985: WARN/ActivityManager(51): Activity idle timeout for HistoryRecord{4328ee50 {com.basementajax.DroidMass/ com.basementajax.DroidMass.DroidMass}} On Dec 30 2008, 5:13 am, chrispix <chris...@gmail.com> wrote: > Yes, It shows up in in DDMS, I can browse the file system, upload new > applications, etc. > When I go to debug mode the phone is just waiting on Debugger. > > Application myTest (process com.froogloid.android.myTest) is waiting > for the debugger to attach. > > Here is output : > 12-29 23:11:08.692: DEBUG/AndroidRuntime(20251): >>>>>>>>>>>>>> > AndroidRuntime START <<<<<<<<<<<<<< > 12-29 23:11:08.692: DEBUG/AndroidRuntime(20251): CheckJNI is OFF > 12-29 23:11:09.552: DEBUG/AndroidRuntime(20251): --- registering > native functions --- > 12-29 23:11:09.562: INFO/jdwp(20251): received file descriptor 16 from > ADB > 12-29 23:11:11.782: DEBUG/PackageParser(51): Scanning package: /data/ > app/vmdl47559.tmp > 12-29 23:11:12.132: WARN/PackageManager(51): Attempt to re-install > com.froogloid.android.myTest without first uninstalling. > 12-29 23:11:12.142: INFO/installd(35): unlink /data/dalvik-cache/ > d...@a...@vmdl47559....@classes.dex > 12-29 23:11:12.152: DEBUG/AndroidRuntime(20251): Shutting down VM > 12-29 23:11:12.172: DEBUG/dalvikvm(20251): DestroyJavaVM waiting for > non-daemon threads to exit > 12-29 23:11:12.172: INFO/dalvikvm(20251): DestroyJavaVM shutting VM > down > 12-29 23:11:12.172: DEBUG/dalvikvm(20251): HeapWorker thread shutting > down > 12-29 23:11:12.182: DEBUG/dalvikvm(20251): HeapWorker thread has shut > down > 12-29 23:11:12.182: DEBUG/jdwp(20251): JDWP shutting down net... > 12-29 23:11:12.182: DEBUG/jdwp(20251): +++ peer disconnected > 12-29 23:11:12.182: INFO/dalvikvm(20251): Debugger has detached; > object registry had 1 entries > 12-29 23:11:12.182: DEBUG/dalvikvm(20251): VM cleaning up > 12-29 23:11:12.242: DEBUG/dalvikvm(20251): LinearAlloc 0x0 used 529540 > of 4194304 (12%) > 12-29 23:11:12.872: DEBUG/dalvikvm(51): GC freed 11890 objects / > 617264 bytes in 714ms > 12-29 23:11:12.882: VERBOSE/WifiMonitor(51): Event [CTRL-EVENT-SCAN- > RESULTS Ready] > 12-29 23:11:13.142: DEBUG/AndroidRuntime(20261): >>>>>>>>>>>>>> > AndroidRuntime START <<<<<<<<<<<<<< > 12-29 23:11:13.142: DEBUG/AndroidRuntime(20261): CheckJNI is OFF > 12-29 23:11:13.312: DEBUG/AndroidRuntime(20261): --- registering > native functions --- > 12-29 23:11:13.322: INFO/jdwp(20261): received file descriptor 16 from > ADB > 12-29 23:11:14.673: DEBUG/PackageParser(51): Scanning package: /data/ > app/vmdl47560.tmp > 12-29 23:11:14.912: DEBUG/PackageManager(51): Removing package > com.froogloid.android.myTest > 12-29 23:11:14.912: DEBUG/PackageManager(51): Activities: > com.froogloid.android.myTest.myTest com.froogloid.android.myTest.Park > com.froogloid.android.myTest.Find > com.froogloid.android.myTest.FindList > com.froogloid.android.myTest.CameraActivity > com.froogloid.android.myTest.MapClass > 12-29 23:11:14.912: DEBUG/PackageManager(51): Scanning package > com.froogloid.android.myTest > 12-29 23:11:14.922: INFO/PackageManager(51): /data/app/vmdl47560.tmp > changed; unpacking > 12-29 23:11:15.003: DEBUG/installd(35): DexInv: --- BEGIN '/data/app/ > vmdl47560.tmp' --- > 12-29 23:11:15.842: DEBUG/dalvikvm(20269): DexOpt: load 59ms, verify > 161ms, opt 2ms > 12-29 23:11:15.922: DEBUG/installd(35): DexInv: --- END '/data/app/ > vmdl47560.tmp' (success) --- > 12-29 23:11:15.992: DEBUG/PackageManager(51): Activities: > com.froogloid.android.myTest.myTest com.froogloid.android.myTest.Park > com.froogloid.android.myTest.Find > com.froogloid.android.myTest.FindList > com.froogloid.android.myTest.CameraActivity > com.froogloid.android.myTest.MapClass > 12-29 23:11:17.582: VERBOSE/WifiMonitor(51): Event [CTRL-EVENT-SCAN- > RESULTS Ready] > 12-29 23:11:17.832: INFO/installd(35): move /data/dalvik-cache/ > d...@a...@vmdl47560....@classes.dex -> /data/dalvik-cache/ > d...@a...@com.froogloid.android.mytest....@classes.dex > 12-29 23:11:17.842: DEBUG/PackageManager(51): New package installed > in /data/app/com.froogloid.android.myTest.apk > 12-29 23:11:17.852: WARN/PackageManager(51): Not granting permission > android.permission.DIAGNOSTIC to package com.froogloid.android.myTest > (protectionLevel=2 flags=0x44) > 12-29 23:11:18.782: DEBUG/AndroidRuntime(20261): Shutting down VM > 12-29 23:11:18.782: DEBUG/dalvikvm(20261): DestroyJavaVM waiting for > non-daemon threads to exit > 12-29 23:11:18.792: INFO/dalvikvm(20261): DestroyJavaVM shutting VM > down > 12-29 23:11:18.792: DEBUG/dalvikvm(20261): HeapWorker thread shutting > down > 12-29 23:11:18.802: DEBUG/dalvikvm(20261): HeapWorker thread has shut > down > 12-29 23:11:18.802: DEBUG/jdwp(20261): JDWP shutting down net... > 12-29 23:11:18.802: DEBUG/jdwp(20261): +++ peer disconnected > 12-29 23:11:18.802: INFO/dalvikvm(20261): Debugger has detached; > object registry had 1 entries > 12-29 23:11:18.802: DEBUG/dalvikvm(20261): VM cleaning up > 12-29 23:11:18.852: DEBUG/ActivityManager(51): Uninstalling process > com.froogloid.android.myTest > 12-29 23:11:18.852: DEBUG/dalvikvm(20261): LinearAlloc 0x0 used 529540 > of 4194304 (12%) > 12-29 23:11:19.532: WARN/ActivityManager(51): Activity pause timeout > for HistoryRecord{43280160 {com.android.contacts/ > com.android.contacts.DialtactsActivity}} > 12-29 23:11:19.842: DEBUG/AndroidRuntime(20276): >>>>>>>>>>>>>> > AndroidRuntime START <<<<<<<<<<<<<< > 12-29 23:11:19.862: DEBUG/AndroidRuntime(20276): CheckJNI is OFF > 12-29 23:11:20.162: DEBUG/PhoneWindow(3880): couldn't save which view > has focus because the focused view > com.android.internal.policy.impl.phonewindow$decorv...@431f3d30 has no > id. > 12-29 23:11:20.232: DEBUG/AndroidRuntime(20276): --- registering > native functions --- > 12-29 23:11:20.242: INFO/jdwp(20276): received file descriptor 16 from > ADB > 12-29 23:11:20.242: INFO/ActivityManager(51): Start proc > com.android.vending for broadcast > com.android.vending/.PackageMonitorReceiver: pid=20279 uid=10024 gids= > {3003} > 12-29 23:11:20.612: INFO/dalvikvm(20279): Ignoring DDM send req for > type=0x41504e4d len=38 > 12-29 23:11:21.322: DEBUG/dalvikvm(51): GC freed 9883 objects / 442888 > bytes in 912ms > 12-29 23:11:21.362: INFO/ActivityManager(51): processNextBroadcast: > waiting for ProcessRecord{4330be08 20279:com.android.vending/10024} > 12-29 23:11:21.612: INFO/dalvikvm(20279): Ignoring DDM send req for > type=0x41504e4d len=42 > 12-29 23:11:22.502: INFO/ActivityThread(20279): Publishing provider > com.android.vending.SuggestionsProvider: > com.android.vending.SuggestionsProvider > 12-29 23:11:22.752: DEBUG/dalvikvm(3880): GC freed 4884 objects / > 262632 bytes in 594ms > 12-29 23:11:22.952: VERBOSE/WifiMonitor(51): Event [CTRL-EVENT-SCAN- > RESULTS Ready] > 12-29 23:11:23.222: DEBUG/ActivityManager(51): Uninstalling process > com.froogloid.android.myTest > 12-29 23:11:23.262: DEBUG/PhoneWindow(3880): couldn't save which view > has focus because the focused view > com.android.internal.policy.impl.phonewindow$decorv...@431f3d30 has no > id. > 12-29 23:11:23.272: INFO/ActivityManager(51): Starting activity: > Intent { flags=0x10000000 comp={com.froogloid.android.myTest/ > com.froogloid.android.myTest.myTest} } > 12-29 23:11:23.292: DEBUG/AndroidRuntime(20276): Shutting down VM > 12-29 23:11:23.292: DEBUG/dalvikvm(20276): DestroyJavaVM waiting for > non-daemon threads to exit > 12-29 23:11:23.312: INFO/dalvikvm(20276): DestroyJavaVM shutting VM > down > 12-29 23:11:23.312: ERROR/AndroidRuntime(20276): ERROR: thread attach > failed > 12-29 23:11:23.322: DEBUG/dalvikvm(20276): HeapWorker thread shutting > down > 12-29 23:11:23.322: DEBUG/dalvikvm(20276): HeapWorker thread has shut > down > 12-29 23:11:23.322: DEBUG/jdwp(20276): JDWP shutting down net... > 12-29 23:11:23.322: DEBUG/jdwp(20276): +++ peer disconnected > 12-29 23:11:23.322: INFO/dalvikvm(20276): Debugger has detached; > object registry had 1 entries > 12-29 23:11:23.332: DEBUG/dalvikvm(20276): VM cleaning up > 12-29 23:11:23.462: DEBUG/dalvikvm(20276): LinearAlloc 0x0 used 541332 > of 4194304 (12%) > 12-29 23:11:24.892: INFO/ActivityManager(51): Start proc > com.froogloid.android.myTest for activity > com.froogloid.android.myTest/.myTest: pid=20297 uid=10027 gids={3003, > 1006, 1007} > 12-29 23:11:25.082: INFO/dalvikvm(20297): Ignoring DDM send req for > type=0x41504e4d len=38 > 12-29 23:11:25.142: INFO/dalvikvm(20297): Ignoring DDM send req for > type=0x41504e4d len=58 > 12-29 23:11:25.142: WARN/ActivityThread(20297): Application > com.froogloid.android.myTest is waiting for the debugger on port > 8100... > 12-29 23:11:25.152: INFO/System.out(20297): Sending WAIT chunk > 12-29 23:11:25.162: INFO/dalvikvm(20297): Ignoring DDM send req for > type=0x57414954 len=1 > 12-29 23:11:25.643: WARN/ActivityManager(51): Activity pause timeout > for HistoryRecord{433ffc48 {com.froogloid.android.myTest/ > com.froogloid.android.myTest.myTest}} > > On Dec 29, 8:08 am, "stijn.mal...@gmail.com" <stijn.mal...@gmail.com> > wrote: > > > > > Have you enabled the USB debugging flag? > > (Settings -> Applications -> Development) > > > On 29 dec, 06:59, chrispix <chris...@gmail.com> wrote: > > > > I am not sure what is wrong, but I can't seem to debug on the G1, I > > > can debug fine on the emulator, it runs fine on emulator with an iso > > > sd card loaded. It runs fine on the G1, but when I go to debug it says > > > that it is waiting on the debugger. Any help or what messages need > > > would be great.. Thanks.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---