views:

112

answers:

1

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 wrong with my ADB setup (But LogCat works fine)?

Thanks!

Screenshot: http://i.imgur.com/CzTws.png

A: 

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.

fadden
Thank you! It works like that: 1. Select Thread 2. Click Button "Heap" or "Thread" on Devices tab.
OneWorld