Le 8 mai 12 à 20:08, Ochirov Nikolay a écrit :
Hi,
that's part of gdb session:
...
Continuing.
#0 desktop::Desktop::Main (this=0xbfc28244) at /home/user/ooo/
main/desktop/source/app/app.cxx:1670
#1 0x018b410d in ImplSVMain() () from /opt/openoffice.org3/
program/../basis-link/program/libvcl.so
#2 0x018b42a4 in SVMain() () from /opt/openoffice.org3/
program/../basis-link/program/libvcl.so
#3 0x0027199c in soffice_main () from /opt/openoffice.org3/
program/../basis-link/program/libsofficeapp.so
#4 0x08048d14 in main ()
there are no symbols for module vcl, although i have rebuil /main/
vcl so:
cd ooo/main/vcl
make -sr DEBUG=yes
what am i doing wrong ?
in vcl, do :
mv unxlng*.pro unxlng*.pro_back
build debug=t
=> in the new unxlng*.pro/lib, there will be some new libs,
including symbols. Replace the stripped one you got in your set with
these new libs.
Quit OpenOffice and run it again using gdb, and then you should be
able to hit some breakpoints in vcl code.
FYI, I wrote this page some times ago : http://wiki.ooo4kids.org/
index.php/ClassRooms/gdbBasics
Regards,
Eric
sincerely,
Nikolay
2012/5/8 Ariel Constenla-Haile <[email protected]>
Hi Nikolay,
On Tue, May 08, 2012 at 08:47:37PM +0400, Ochirov Nikolay wrote:
Thank you, Andre, I notice that.
I rebuilt desktop module but still nothing happened.
I will try again)
There might be some missing step, please copy the steps you are
following, how and where are you copying the libraries with debugging
symbols, etc.
2012/5/8 Andre Fischer <[email protected]>
Hm,
There was small typo in one of the build command line. It
should be
cd trunk/main/desktop
build debug=true dbglevel=3
^
ups, my mistake!
Fixing this, and following the steps posted in the other mails should
work out of the box.
Regards
--
Ariel Constenla-Haile
La Plata, Argentina
--
qɔᴉɹə
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news