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. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice