Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: mojo/devtools/common/README.md

Issue 1311333003: Don't spawn debugger.mojo by default in `mojo_run`. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/devtools/common/mojo_debug » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/README.md
diff --git a/mojo/devtools/common/README.md b/mojo/devtools/common/README.md
index 5367352596c2462b41e3b66682e4a2fc7e8ee92f..e6044b238e962bbba77b11bb61f55a396413d47c 100644
--- a/mojo/devtools/common/README.md
+++ b/mojo/devtools/common/README.md
@@ -57,9 +57,16 @@ manager. You can pass a different window manager url using the
performance traces and attach a gdb debugger.
#### Tracing
-To collect [performance
+In order to collect [performance
traces](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool)
-and retrieve the result:
+interactively through `mojo_debug`, make sure that the app being inspected was
+run with `--debugger` switch. E.g.:
+
+```sh
+mojo_run --debugger APP_URL [--android]
+```
+
+Then, in another shell, tracing can be orchestrated as follows:
```sh
mojo_debug tracing start
« no previous file with comments | « no previous file | mojo/devtools/common/mojo_debug » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698