Dalvik Debug Monitor Server
Dalvik Debug Monitor Server is also known as DDMS. This utility runs on top of adb
, and provides a graphical interface with a big set of functionalities, including thread and heap information, logcat, SMS/call simulation, location data, and more. This is how DDMS looks when it starts:
The screen has different sections:
- The top-left section shows the active devices and the different processes running on the device.
- The top-right section shows a variety of options, the default option being the file explorer. At the bottom, LogCat is shown.
There are more available options in the DDMS, so let's explore them in detail. First, the section we saw on the top-left side:
- The icon starts debugging the selected process.
- The icon will update the heap every time the GC is triggered for the selected process (more information on this later).
- The next icon, , dumps HPROF in a file. HPROF is a binary format that contains the snapshot of an application heap. There are some...