ANDROID--DDMS Brief Introduction

Source: Internet
Author: User



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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.