开发者

Cannot select my Android client in DDMS perspective of eclipse

开发者 https://www.devze.com 2023-01-13 20:27 出处:网络
I want to check my program code for time consuming operations. I thought DDMS is the best tool to achieve that.

I want to check my program code for time consuming operations. I thought DDMS is the best tool to achieve that.

However, I cant see Threads, Heaps and so on. It tells my to select a client. But I dont know where other than the Devices Tab, which doesnt take effect.

What do I have to do? Is there maybe smth w开发者_运维技巧rong with my ADB setup (But LogCat works fine)?

Thanks!

Cannot select my Android client in DDMS perspective of eclipse


Looking at the screen shot, you have the device ("emulator-5554") selected. You need to click on your application from the list of processes.

For example, if you click on "com.android.music", you will see information about the Music app.

Note that, on a real device, you must mark your application as "debuggable" or it won't appear in the list at all (on an emulator, all apps are debuggable). See the Developing on a Device page for details.

0

精彩评论

暂无评论...
验证码 换一张
取 消