kyoraku
kyoraku

Reputation: 67

Can't get any thread in DDMS window when debugging

I downloaded android source code and set up the development environment in eclipse. I wanted to debug some system apps(like mms, etc). But when I attached my galaxy nexus into my laptop, I can't see any thread in the ddms. I have already enabled debug mode in the setting page. The Android version of my device is 4.2.1. I wonder if the 4.2.1 needs additional drivers or something when debugging? You can refer the image here: http://i48.tinypic.com/32zj19h.png

Upvotes: 0

Views: 1362

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006554

You can only debug debuggable apps. All apps are debuggable on an emulator; only apps with android:debuggable="true" or build by Eclipse in debug mode are debuggable on production hardware.

There is no such concept as "debug some system apps(like mms, etc)" except in the context of building your own version of Android and rolling that into a ROM mod. As Mr. Estivill notes, you will have to do just that if you wish to "debug some system apps" on a Galaxy Nexus.

Upvotes: 4

Related Questions