Hi everybody,

I'm currently dive into extension development for open office using Java. I did 
some successful experiments based on the 'MinimalComponent' example and 
extended it a bit based on the 'CustomPanel' example by adapting the c++ 
sources. After installation I see a new tool panel so it looks promising.

Now I wonder how i can debug my java extension. I managed to set the parameters in the 
Tools -> Options -> OpenOffice -> Java dialog:
-agentlib:jdwp=transport=dt_socket,server=y,address=localhost:8000

I guess they are the correct parameters - when I install my extension using 
'unopkg add ...' command the execution stops until i connect with a debugger.

When I start open office with my extension installed I am unable to connect 
with a debugger as Java doesn't listen for remote connections. Did I miss 
something? I read somewhere that it's not possible to debug Java extensions 
when more than one extension using Java. Does this limitation still exists?

I am NOT using NetBeans with Open Office Plugin. I use Eclipse and Open Office 
4.0.0. I do NOT use the Eclipse Plug-In for Open Office Extension Development. 
Does anybody have experience debugging Java extensions (either using NetBeans 
or Eclipse)?

greets and thanks in advance, tobi

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to