Specific visible http://developer.android.com/guide/developing/tools/ddms.html. Ddms is a bridge between IDE, emultor, and real Android devices. Developers can view the running process/ready-to-use status on the target machine through ddms. They can go to the development machine on the android screen, view the heap information of the process, and view the logcat information, you can view the memory allocated by the process. You can send text messages and make phone calls on the target machine, or send geographic location information like android. Attach a process for debugging like GDB. The full version of ddms is provided in the SDK tools directory and can be directly run. The following uses ddms perspective in eclipse as an example to briefly introduce the features of ddms.
Like debug and Java's perspective, after ADT is installed, there will be a ddms perspective. Just open it.
The window that appears is,
The device window lists all processes in the simulator. The buttons in the upper right corner are: Debug a process, update a process, update the process stack information, and stop a process, the last image button captures the current Android screen.
When you select a process and press the debug process button, if eclipse contains the code of this process, you can perform source code-level debugging. It's a bit like GDB attach. The image capture button can capture the current Android display desktop to your machine, which is also very useful.
The window on the right contains the threads, heap, and file explorer tabs. Displays thread statistics, stack information, and Android file systems respectively.
File explorer is very useful. It can upload files to or download files from Android phones or delete files. After selecting the file explorer tab, you can click the following three buttons to upload, download, and delete the file system of your Android phone.
Emulator control is also very important. It can send text messages like a mobile phone, make a call, and update the mobile phone location information.
Summary:
Currently, the ddms function provided by eclipse adt is only a small part of the real ddms. You can directly use the ddms below tools to use all the functions. One of the functions is useful for viewing the memory allocation of processes.