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

Side by Side Diff: README.md

Issue 1209593002: GDB support for Android in devtools' debugger. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 Mojo 1 Mojo
2 ==== 2 ====
3 3
4 Mojo is an effort to extract a common platform out of Chrome's renderer and 4 Mojo is an effort to extract a common platform out of Chrome's renderer and
5 plugin processes that can support multiple types of sandboxed content, such as 5 plugin processes that can support multiple types of sandboxed content, such as
6 HTML, Pepper, or NaCl. 6 HTML, Pepper, or NaCl.
7 7
8 ## Set-up and code check-out 8 ## Set-up and code check-out
9 9
10 The instructions below only need to be done once. Note that a simple "git clone" 10 The instructions below only need to be done once. Note that a simple "git clone"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 #### Android crash stacks 259 #### Android crash stacks
260 When Mojo shell crashes on Android ("Unfortunately, Mojo shell has stopped.") 260 When Mojo shell crashes on Android ("Unfortunately, Mojo shell has stopped.")
261 due to a crash in native code, `debugger` can be used to find and symbolize the 261 due to a crash in native code, `debugger` can be used to find and symbolize the
262 stack trace present in the device log: 262 stack trace present in the device log:
263 263
264 ``` 264 ```
265 mojo/devtools/common/debugger device stack 265 mojo/devtools/common/debugger device stack
266 ``` 266 ```
267 267
268 #### GDB support
ppi 2015/07/09 13:12:38 "support" is redundant, let's just say "gdb" or "A
etiennej 2015/07/15 07:13:20 Done.
269 It is possible to inspect a Mojo Shell process using GDB. The `debugger` script
270 can be used to launch GDB and attach it to a running shell process (android
271 only):
272 ```
273 mojo/devtools/common/debugger gdb attach
ppi 2015/07/09 13:12:38 I just tried to do just that, and the process hang
etiennej 2015/07/15 07:13:20 I don't know how your "regular mojo checkout" diff
274 ```
275
268 ### Android set-up 276 ### Android set-up
269 277
270 #### Adb 278 #### Adb
271 279
272 For the Android tooling to work, you will need to have `adb` in your PATH. For 280 For the Android tooling to work, you will need to have `adb` in your PATH. For
273 that, you can either run: 281 that, you can either run:
274 ``` 282 ```
275 source build/android/envsetup.sh 283 source build/android/envsetup.sh
276 ``` 284 ```
277 285
(...skipping 20 matching lines...) Expand all
298 ``` 306 ```
299 adb logcat | ./tools/android_stack_parser/stack 307 adb logcat | ./tools/android_stack_parser/stack
300 ``` 308 ```
301 309
302 ### Running manually on Linux 310 ### Running manually on Linux
303 311
304 If you wish to, you can also run the Linux Mojo shell directly with no wrappers: 312 If you wish to, you can also run the Linux Mojo shell directly with no wrappers:
305 ``` 313 ```
306 ./out/Debug/mojo_shell mojo:spinning_cube 314 ./out/Debug/mojo_shell mojo:spinning_cube
307 ``` 315 ```
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698