[maemo-developers] Debugging the browser

From: Eero Tamminen eero.tamminen at nokia.com
Date: Thu Oct 4 10:05:01 EEST 2007
Hi,

ext Akos Putz wrote:
> On 10/3/07, Eero Tamminen <eero.tamminen at nokia.com> wrote:
>>> Haven't really bothered installing something else, because I'm
>>> interested mainly in debugging my own code, which has debugging infos
>>> anyway. What else do you suggest?
>> Debug symbols for anything through which your stacktraces go
>> and through which you would want/need to debug.  You can
>> use maemo-debug metapackage for installing the symbols for
>> base libraries or the debug-dep-install script from maemo-debug-scripts
>> package to install symbols for given binary and it's dependencies.
> 
> Ok, I installed maemo-debug (so pretty much everything), and ran the
> following command, just to be sure:
> 
> Nokia-N800-26:~# debug-dep-install /usr/bin/browser.launch
> <snip>
> Debug packages are MISSING for following dependencies:
> - browser-eal
> - gtkhtml0
> - hildon-base-lib0
> - libart-2.0-2
> - libcst
> - libdb1
> - libgconf2-6
> - libgtkadi1
> - libjpeg62
> - libmatchbox1
> - libmediaplayer0
> - libosso-certman1
> - libosso-help0
> - libossomime0
> - libssl0.9.7
> - osso-bookmark-engine
> - osso-bookmark-menu
> - osso-esd
> - osso-ic-lib
> - tablet-browser-controls
> - tablet-browser-dialogs
> - tablet-browser-ui
> - tablet-browser-widgets
> - zlib1g
> 
> So I think I have everything possible, except the missing packages.

Hm.  I though debug packages should be available for all libraries
that are open source (hildon, limatchbox etc)?


> The gdb problem is still there, sadly.
> 
>>> wait4(2345, NULL, 0, NULL)              = ? ERESTARTSYS (To be restarted)
>>> --- SIGINT (Interrupt) @ 0 (0) ---
>>> rt_sigaction(SIGINT, {0xcdb14, [INT], SA_RESTART|0x4000000}, {0xcdb14,
>>> [INT], SA_RESTART|0x4000000}, 8) = 0
>>> sigreturn()                             = ? (mask now [])
>>> wait4(2345, NULL, 0, NULL)              = ? ERESTARTSYS (To be restarted)
>> Doesn't say anything for me.
>>
>> Is the problem something which you cannot debug on x86?
> 
> Yes, the opera based browser, which does not exist on x86. Or am I
> missing something?

Um.  I thought you were using the new browser from Garage.
With Opera you're basically screwed because there are no
debug symbols available for it.  Same thing with Flashplayer.


Can you reproduce the same problem with the Mozilla based browser?


	- Eero


More information about the maemo-developers mailing list