diff options
Diffstat (limited to 'docs/html/tools/help')
-rw-r--r-- | docs/html/tools/help/monitor.jd | 18 | ||||
-rw-r--r-- | docs/html/tools/help/traceview.jd | 24 |
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 > 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> + + |