Changes

Jump to: navigation, search

Fennec on a Nokia N810

83 bytes added, 07:33, 18 March 2009
Debugging on Fennec on a Nokia N810
== Debugging on Fennec on a Nokia N810 ==
Currently gdb is not working on Fennec on the device. The symbols get stripped during the packaging process.  So you You must rely on dump() in javascript and printf() in C++
and your console/terminal in order to debug.
'''note:''' Usually I put "DEBUG" in front of all the dump() and printf()
so that you can grep for them on the console/terminal.
 
There are instructions on how to get gdb installed here:
[http://maemo.org/development/tools/#apt-example]
 
In order to get gdb to work on fennec it needs to be packaged
with it's symbols to do that run
 
"make package PKG_SKIP_STRIP=1"
 
note: right now running fennec with the -g flag doesn't work
1
edit

Navigation menu