From f3c06bb8b66cb91a1b9c3a0c7b8f73e80819a232 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Mon, 27 Apr 2009 10:38:50 -0700 Subject: [PATCH 1/5] Minor updates to DDMS doc. Fixed typos, removed stale comment. Changed "service" to "server". --- docs/html/guide/developing/tools/ddms.jd | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/html/guide/developing/tools/ddms.jd b/docs/html/guide/developing/tools/ddms.jd index fa04216c39bf4..f55940d18ae02 100644 --- a/docs/html/guide/developing/tools/ddms.jd +++ b/docs/html/guide/developing/tools/ddms.jd @@ -1,7 +1,7 @@ -page.title=Using Dalvik Debug Monitor Service (DDMS) +page.title=Using the Dalvik Debug Monitor @jd:body -

Android ships with a debugging tool called the Dalvik Debug Monitor Service (DDMS), +

Android ships with a debugging tool called the Dalvik Debug Monitor Server (DDMS), which provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more. This page @@ -106,7 +106,7 @@ and some pretty cool tools.

  • utime - cumulative time spent executing user code, in "jiffies" (usually - 10ms). Only available under Linux.
  • + 10ms).
  • stime - cumulative time spent executing system code, in "jiffies" (usually 10ms).
  • Name - the name of the thread
  • @@ -214,14 +214,15 @@ the emulator from command line, be sure to mount the sdcard again.)

    Screen Capture

    You can capture screen images on the device or emulator by selecting Device - > Screen capture... in the menu bar, or press CTRL-S.

    + > Screen capture... in the menu bar, or press CTRL-S. + Be sure to select a device first.

    Exploring Processes

    You can see the output of ps -x for a specific VM by selecting Device > Show process status... in the menu bar.

    Cause a GC to Occur

    -

    Cause garbage collection to occury by pressing the trash can button on the toolbar.

    +

    Cause garbage collection to occur in the selected application by pressing the trash can button on the toolbar.

    Running Dumpsys and Dumpstate on the Device (logcat)