[Libreoffice] Couldn't debug fdo#30550 (WAS: Build failed in sfx2 in -3-3 branch)
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
> 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
> 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
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, but
> it failed.
If you were setting breakpoints by symbolname, then set breakpoints by
sourcefile:linenumber instead, that's a lot more reliable.
More information about the LibreOffice