Confirmed users
753
edits
No edit summary |
|||
Line 139: | Line 139: | ||
git clone git://github.com/darchons/android-gdbutils.git moz-gdb/utils | git clone git://github.com/darchons/android-gdbutils.git moz-gdb/utils | ||
Now edit this file: | |||
moz-gdb/utils/gdbinit | |||
and uncomment (remove the #'s) and set the following variables: | |||
python feninit.default.objdir # set it to your fennec object directory | |||
python feninit.default.srcroot # set it to your source directory | |||
==== Linux ==== | ==== Linux ==== | ||
Make sure your paths are absolute! The gdbinit file, even though it specifies relative paths by default, will not correctly load debug symbols unless you specify absolute paths. | Make sure your paths are absolute! The gdbinit file, even though it specifies relative paths by default, will not correctly load debug symbols unless you specify absolute paths. | ||
Line 164: | Line 170: | ||
</table> | </table> | ||
Running | === Running JimDB === | ||
Once JimDB is properly set up, with a moz-gdb directory as described above, running Fennec in GDB is very easy: | |||
./moz-gdb/bin/gdb | |||
This will automatically start gdbserver and fennec on the device, and start gdb on your computer. |