[maemo-developers] Debugging the browser

From: Akos Putz putz.akos at gmail.com
Date: Wed Oct 3 18:14:51 EEST 2007
Hi,

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.
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?

on the device:
~ $ dpkg -S /usr/bin/browser.launch
tablet-browser-ui: /usr/bin/browser.launch
~ $ apt-cache policy tablet-browser-ui
tablet-browser-ui:
  Installed: 0.2.9-1
  Candidate: 0.2.9-1
  Version table:
 *** 0.2.9-1 0
        100 /var/lib/dpkg/status

on the x86 scratchbox:
[sbox-SDK_X86: ~] > ls /usr/bin/br*
ls: /usr/bin/br*: No such file or directory
[sbox-SDK_X86: ~] >
[sbox-SDK_X86: ~] > apt-cache search tablet-browser-ui
[sbox-SDK_X86: ~] >
[sbox-SDK_X86: ~] > cat /etc/apt/sources.list
deb http://repository.maemo.org/ bora free non-free
deb-src http://repository.maemo.org/ bora free
deb file:/home/akos/maemo-sdk-nokia-binaries_3.1 bora explicit

--
Akos

More information about the maemo-developers mailing list