Scott Main | 50e990c | 2012-06-21 17:14:39 -0700 | [diff] [blame] | 1 | page.title=Traceview |
| 2 | parent.title=Tools |
| 3 | parent.link=index.html |
| 4 | @jd:body |
| 5 | |
Rich Slogar | 2c35e92 | 2015-03-31 16:30:02 -0700 | [diff] [blame] | 6 | <p>Traceview is a graphical viewer for execution logs saved by your application. |
Scott Main | 50e990c | 2012-06-21 17:14:39 -0700 | [diff] [blame] | 7 | Traceview can help you debug your application and profile its performance.</p> |
| 8 | |
Rich Slogar | 2c35e92 | 2015-03-31 16:30:02 -0700 | [diff] [blame] | 9 | <p>To start the Traceview tool:</p> |
Scott Main | 50e990c | 2012-06-21 17:14:39 -0700 | [diff] [blame] | 10 | |
Rich Slogar | 2c35e92 | 2015-03-31 16:30:02 -0700 | [diff] [blame] | 11 | <ul> |
| 12 | <li>Start the <a href="{@docRoot}tools/help/monitor.html">Android Device Monitor</a>. </li> |
| 13 | <li>In the Android Device Monitor tool bar, click <strong>DDMS</strong> and select a process. </li> |
| 14 | <li>Click the <strong>Start Method Profiling</strong> icon to start method profiling. </li> |
| 15 | <li>After the profiling is complete, click the <strong>Stop Method Profiling</strong> icon to |
| 16 | display the traceview. </li> |
| 17 | </ul> |
| 18 | |
| 19 | |
| 20 | <p>For more information on how to use Traceview, see |
| 21 | <a href="{@docRoot}tools/debugging/debugging-tracing.html">Profiling with Traceview and |
| 22 | dmtracedump</a>. |
Scott Main | 50e990c | 2012-06-21 17:14:39 -0700 | [diff] [blame] | 23 | </p> |
| 24 | |
Rich Slogar | 2c35e92 | 2015-03-31 16:30:02 -0700 | [diff] [blame] | 25 | <p class="note"><strong>Note:</strong> Running <code>traceview</code> from the command line |
| 26 | has been deprecated. </p> |
| 27 | |
| 28 | |