DDMS the full name is Dalvik Debug Monitor Service , is Android in the development environment Dalvik Virtual Machine Debug Monitoring service.
It provides for example: screenshots for a test device, view running threads and heap information for a particular process, Logcat , broadcast status information, analog phone calls, receiving SMS , virtual geographic coordinates, and so on .
One, toggle Ddms view
in the devices on the left, you can see the virtual devices that are running.
Two, Ddms each menu simple introduction
|
debug Process |
Breakpoint Debugger: Personal Summary Breakpoint Debugger has 2 kinds of situations. The project code in 1.eclipse is compiled correctly, and the application runs on Android, this time debugging just like normal Java or vc6.0 breakpoint debugging |
|
update Heap |
 
  |
|
dump HPROF fiel |
This is the memory information that the statistics process occupies. Select a process and click this button to generate a file to view the memory allocations used by the current process. Generally combined with eclipse emt |
|
cause Gc |
garbage collection:
heap memory Recycle in process |
|
update Threads |
You can view information for each thread in the current process, displayed next to threads box |
|
start Method Profiling |
Although google |
|
Start Process |
Terminating a process |
|
Screen Capture |
System screen |
|
dump View Hierarchy for UI Automator |
This feeling is the same as the old version of the hierarchical view, and feels more powerful. But personally, I'm used to it. Hierarchy View |
|
Capture System Wide Trace |
used to analyze APK the performance of |
|
Reset Abd |
finally restart adb android system if there are multiple ddms ddms reset to get complete information on the phone process |
|
Start OpenGL Trace |
|
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
ANDROID--DDMS Brief Introduction