[Libreoffice] Java debugging

Cedric Bosdonnat cedric.bosdonnat.ooo at free.fr
Wed Aug 10 05:10:29 PDT 2011


Hello Gabor,

On Wed, 2011-08-10 at 12:43 +0200, Jenei Gábor wrote:
> First of all thanks for your useful documents, and I am trying to debug 
> the wizards of LibreOffice Base, exactly I am interested about 
> SQLQueryComposer.java(or something similar) at wizards/com/sun/star/db I 
> added to the source paths this directory, so Eclipse recognises that my 
> source code is from there, thus it shows me the code where it stoped. I 
> suspect also some problem about this. I did make -sr debug=true 
> dbglevel=2 for the whole directory, I don't know if it is enough, for 
> C++ code it was enough with gdb. So, could you help me?

I had a look at what happens when building java bits with debug=t... and
the -g option was missing there. I just pushed a patch to add the -g
option to javac when building with debuglevel > 0.

Try with that now and it should be fine.

Regards,

-- 
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr



More information about the LibreOffice mailing list