[Libreoffice] Couldn't debug fdo#30550 (WAS: Build failed in sfx2 in -3-3 branch)

Caolán McNamara caolanm at redhat.com
Tue Jun 21 01:24:30 PDT 2011


On Mon, 2011-06-20 at 23:52 +0700, Korrawit Pruegsanusak wrote:
> ...then run swriter
> After attaching soffice.bin to gdb using
>   gdb soffice.bin $LOPID[1]
> libo writer was paused (which is normal, isn't it?)

Yes, when you attach like that gdb stops the app, type cont to get it to
continue.

> Notice: there're many shouts from gdb at me after attached, like
>   Reading symbol from /usr/lib/libk5crypto.so.3...(no debugging
> symbols found)...done.
>   Loaded symbols for /usr/lib/libk5crypto.so.3
> etc.

Those are ok, just telling you that libk5crypto.so.3 doesn't have any
symbols in it, you don't need/want those.

> So, if libo was paused, how could I select a word and click Tools > Word Count?
> I've tried to set breakpoints in 3 functions named CountWords[3], but
> it failed.

If you were setting breakpoints by symbolname, then set breakpoints by
sourcefile:linenumber instead, that's a lot more reliable.

C.



More information about the LibreOffice mailing list