User:MarkFinkle/MaemoDebugging: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 31: Line 31:


==GDB==
==GDB==
===Device===
In order to use <code>gdb</code> or <code>gdbserver</code> on the device, you'll need to install it:
In order to use <code>gdb</code> or <code>gdbserver</code> on the device, you'll need to install it:
<pre>
<pre>
Line 46: Line 47:
</pre>
</pre>


===Desktop/Scratchbox===
Running <code>gdb</code> on the device may be more pain than you can bear. Loading symbols from <code>libxul.so</code> can cause the device to reboot from OOM.
Running <code>gdb</code> on the device may be more pain than you can bear. Loading symbols from <code>libxul.so</code> can cause the device to reboot from OOM.


Line 68: Line 70:


You should now be running Fennec on the device and debugging on your desktop.
You should now be running Fennec on the device and debugging on your desktop.
'''Note:''' You can install some helper scripts into scratchbox to make it easier to debug applications. Checkout [http://maemo.org/development/tools/doc/chinook/maemo-debug-scripts/ maemo-debug-scripts] to find information on installing and using these scripts. One example is using ''native-gdb'' in place of ''gdb'' inside scratchbox.
canmove, Confirmed users, Bureaucrats and Sysops emeriti
2,798

edits

Navigation menu