Re: [dev] Debugging OOo

2008-08-15 Thread Jan Holesovsky
Hi Michael,

On Wednesday 13 August 2008 12:43, Michael Strobel wrote:

 Thanks! That simplyfies the debugging alot.

There's even a tool that does the linking for you automagically, called 
'linkoo' - it's in solenv/bin.  Unfortunately, it is broken with up-stream 
OOo; in ooo-build (http://go-oo.org), there are additional patches (all filed 
to the IssueZilla) that make it working.

Regards,
Jan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Debugging OOo

2008-08-13 Thread Michael Strobel

Thanks! That simplyfies the debugging alot.

Hubert Figuiere schrieb:

First build without debug and install.

Then rebuild the selected modules with debug and just symlink the 
selected .so within the installed version above.


That way I save on the step of copying, or even the deliver. Just 
build debug=true to check your changes.


Hub



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Debugging OOo

2008-08-12 Thread Michael Strobel

Hi All,

Which way do you debug OOo? I currently wanted to perform a full build 
of OOo 2.4 with debug=true, but ran into multiple problems e.g. during 
packing of the install set under .../instset_native, while there are no 
problems with the build when I don't set debug=true. Adding debug 
symbols to certain moduls of OOo would satisfiy my needs. I presume that 
I just need to install my compiled build, recompile the modules for 
which I need debug symbols with debug=true and copy the newly created 
shared libs and executables over the installation. Is that okay or is 
there any better approach?


Best regards,
Micha

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Debugging OOo

2008-08-12 Thread Caolan McNamara
On Wed, 2008-08-13 at 02:11 +0200, Michael Strobel wrote:
 Hi All,
 
 Adding debug symbols to certain modules of OOo would satisfiy my needs.

If you configure with --enable-symbols OOo is built with -g which is
sufficient to debug it. Alternatively you can e.g. just whack 
export ARCH_FLAGS=-g and rebuild a module or two.

C.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Debugging OOo

2008-08-12 Thread Hubert Figuiere

Michael Strobel wrote:

Hi All,

Which way do you debug OOo? I currently wanted to perform a full build 
of OOo 2.4 with debug=true, but ran into multiple problems e.g. during 
packing of the install set under .../instset_native, while there are no 
problems with the build when I don't set debug=true. Adding debug 
symbols to certain moduls of OOo would satisfiy my needs. I presume that 
I just need to install my compiled build, recompile the modules for 
which I need debug symbols with debug=true and copy the newly created 
shared libs and executables over the installation. Is that okay or is 
there any better approach?


First build without debug and install.

Then rebuild the selected modules with debug and just symlink the 
selected .so within the installed version above.


That way I save on the step of copying, or even the deliver. Just 
build debug=true to check your changes.


Hub

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]