Mobile/Fennec/Android/GDB: Difference between revisions

Line 10: Line 10:
== Using mach ==
== Using mach ==


You can use mach to fetch, install, and run JimDB with one simple command.
You can use mach to fetch, install, configure, and run JimDB with one simple command.


   $ ./mach run --debug
   $ ./mach run --debug
Line 21: Line 21:
   * [new tag]        initial-release -> initial-release
   * [new tag]        initial-release -> initial-release
   1:45.57 /home/gbrown/.mozbuild/android-device/jimdb-arm/bin/gdb -q --args  
   1:45.57 /home/gbrown/.mozbuild/android-device/jimdb-arm/bin/gdb -q --args  
   Fennec GDB utilities
   Fennec GDB utilities
     (see utils/gdbinit and utils/gdbinit.local on how to configure settings)
     (see utils/gdbinit and utils/gdbinit.local on how to configure settings)
Line 31: Line 30:
   6. Debug Fennec with pid
   6. Debug Fennec with pid
   Enter option from above: 1
   Enter option from above: 1
   New ADB device is "emulator-5554"
   New ADB device is "emulator-5554"
   Using device emulator-5554
   Using device emulator-5554
Line 42: Line 40:
   Attaching to pid 674... Done
   Attaching to pid 674... Done
   Setting up remote debugging... Done
   Setting up remote debugging... Done
   Ready. Use "continue" to resume execution.
   Ready. Use "continue" to resume execution.
   : No such file or directory.
   : No such file or directory.
   (gdb)  
   (gdb)


== Using pre-built binaries ==
== Using pre-built binaries ==
Confirmed users
1,759

edits