Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.