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!
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.
精彩评论