summaryrefslogtreecommitdiffstats
path: root/docs/html/tools/help
diff options
context:
space:
mode:
authorDavid Friedman <dmail@google.com>2015-07-11 02:53:54 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-11 02:53:54 +0000
commitccb8a9af1cf4c392b05ec7654d2a7213c8ef4019 (patch)
tree5c75091819493a268495511f2bec091c2776b2af /docs/html/tools/help
parent268a7c190c37a7a63bd1134c4dfb8aacf71c211e (diff)
parentb510225e44742d488beb7dcf0248c9ba9b4010c9 (diff)
downloadframeworks_base-ccb8a9af1cf4c392b05ec7654d2a7213c8ef4019.zip
frameworks_base-ccb8a9af1cf4c392b05ec7654d2a7213c8ef4019.tar.gz
frameworks_base-ccb8a9af1cf4c392b05ec7654d2a7213c8ef4019.tar.bz2
am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs
* commit 'b510225e44742d488beb7dcf0248c9ba9b4010c9': docs: replacing command line tool instructions with Studio and Monitor steps
Diffstat (limited to 'docs/html/tools/help')
-rw-r--r--docs/html/tools/help/monitor.jd18
-rw-r--r--docs/html/tools/help/traceview.jd24
2 files changed, 32 insertions, 10 deletions
diff --git a/docs/html/tools/help/monitor.jd b/docs/html/tools/help/monitor.jd
index 513eb10..5f7b5ce 100644
--- a/docs/html/tools/help/monitor.jd
+++ b/docs/html/tools/help/monitor.jd
@@ -15,8 +15,8 @@ page.title=Device Monitor
<p>Android Device Monitor is a stand-alone tool that provides a graphical user interface for
several Android application debugging and analysis tools. The Monitor tool does not
-require installation of an integrated development environment, such as Eclipse, and encapsulates the
-following tools:</p>
+require installation of an integrated development environment, such as Android Studio, and
+encapsulates the following tools:</p>
<ul>
<li><a href="{@docRoot}tools/debugging/ddms.html">DDMS</a></li>
@@ -30,9 +30,19 @@ following tools:</p>
<h2 id="usage">Usage</h2>
-<p>To start Device Monitor, enter the following command from the SDK <code>tools/</code>
-directory:</p>
+<p>To start Device Monitor:</p>
+
+<ul>
+ <li>From Android Studio, choose <strong>Tools &gt; Android Device Monitor</strong> or click
+ the Android Device Monitor icon
+ <img src="{@docRoot}images/tools/hierarchicalviewer-icon.png" alt=""/>.
+ </li>
+ <li>From the command line, in the SDK <code>tools/</code> directory, enter the following command:
<pre>monitor</pre>
+ </li>
+</ul>
+
+
<p>Start an Android emulator or connect an Android device via USB cable, and connect Device
Monitor to the device by selecting it in the <strong>Devices</strong> window.</p>
diff --git a/docs/html/tools/help/traceview.jd b/docs/html/tools/help/traceview.jd
index 6555ac0..a268291 100644
--- a/docs/html/tools/help/traceview.jd
+++ b/docs/html/tools/help/traceview.jd
@@ -3,14 +3,26 @@ parent.title=Tools
parent.link=index.html
@jd:body
-<p>Traceview is a graphical viewer for execution logs saved by your application.
+<p>Traceview is a graphical viewer for execution logs saved by your application.
Traceview can help you debug your application and profile its performance.</p>
-<p>To start Traceview, enter the following command from the SDK <code>tools/</code> directory:</p>
- <pre>traceview</pre>
-</ol>
+<p>To start the Traceview tool:</p>
-<p>For more information on how to use Traceview, see
-<a href="{@docRoot}tools/debugging/debugging-tracing.html">Profiling with Traceview and dmtracedump</a>
+<ul>
+ <li>Start the <a href="{@docRoot}tools/help/monitor.html">Android Device Monitor</a>. </li>
+ <li>In the Android Device Monitor tool bar, click <strong>DDMS</strong> and select a process. </li>
+ <li>Click the <strong>Start Method Profiling</strong> icon to start method profiling. </li>
+ <li>After the profiling is complete, click the <strong>Stop Method Profiling</strong> icon to
+ display the traceview. </li>
+</ul>
+
+
+<p>For more information on how to use Traceview, see
+<a href="{@docRoot}tools/debugging/debugging-tracing.html">Profiling with Traceview and
+dmtracedump</a>.
</p>
+<p class="note"><strong>Note:</strong> Running <code>traceview</code> from the command line
+has been deprecated. </p>
+
+