Mobile/Fennec/Android/GDB: Difference between revisions

Line 103: Line 103:
== Configuring JimDB ==
== Configuring JimDB ==


utils/gdbinit is the GDB command file that JimDB runs at launch. It contains the launch commands as well as settings for JimDB.
utils/gdbinit is the GDB command file that JimDB runs at launch. Open it in your favorite text editor to see configurable settings for JimDB.


utils/gdbinit also loads utils/gdbinit.local. Because utils/gdbinit can change frequently across updates, it's recommended to copy your custom settings to utils/gdbinit.local, so that updates do not override your settings.
utils/gdbinit also loads utils/gdbinit.local. Because utils/gdbinit can change frequently across updates, it's recommended to copy your custom settings to utils/gdbinit.local, so that updates do not override your settings.


For example, to configure the feninit.default.objdir option, paste the following line inside utils/gdbinit.local,
For example, to configure the feninit.default.objdir option, paste the following line anywhere inside utils/gdbinit.local,
  python feninit.default.objdir = '/home/user/mozilla/central/objdir-android'
  python feninit.default.objdir = '/home/user/mozilla/central/objdir-android'


Confirmed users
507

edits