Confirmed users
1,759
edits
(→FAQ: Add hint for trouble next-ing and for SIG33 interrupts) |
|||
| Line 7: | Line 7: | ||
= Getting started = | = Getting started = | ||
== Using mach == | |||
You can use mach to fetch, install, and run JimDB with one simple command. | |||
$ ./mach run --debug | |||
JimDB (arm) not found: /home/gbrown/.mozbuild/android-device/jimdb-arm does not exist | |||
Download and setup JimDB (arm)? (Y/n) y | |||
Installing JimDB (linux64/arm). This may take a while... | |||
From https://github.com/darchons/android-gdbutils | |||
* [new branch] master -> origin/master | |||
* [new tag] gdbutils-2 -> gdbutils-2 | |||
* [new tag] initial-release -> initial-release | |||
1:45.57 /home/gbrown/.mozbuild/android-device/jimdb-arm/bin/gdb -q --args | |||
Fennec GDB utilities | |||
(see utils/gdbinit and utils/gdbinit.local on how to configure settings) | |||
1. Debug Fennec (default) | |||
2. Debug Fennec with env vars and args | |||
3. Debug using jdb | |||
4. Debug content Mochitest | |||
5. Debug compiled-code unit test | |||
6. Debug Fennec with pid | |||
Enter option from above: 1 | |||
New ADB device is "emulator-5554" | |||
Using device emulator-5554 | |||
Using object directory: /home/gbrown/objdirs/droid | |||
Set sysroot to "/home/gbrown/.mozbuild/android-device/jimdb-arm/lib/emulator-5554". | |||
Updated solib-search-path. | |||
Ignoring BHM signal. | |||
Using package org.mozilla.fennec_gbrown. | |||
Launching org.mozilla.fennec_gbrown... Done | |||
Attaching to pid 674... Done | |||
Setting up remote debugging... Done | |||
Ready. Use "continue" to resume execution. | |||
: No such file or directory. | |||
(gdb) | |||
== Using pre-built binaries == | == Using pre-built binaries == | ||