On 21.08.2013 12:02, tobias haubold wrote:
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)?
Maybe these links help:
General setup to use Eclipse to remote debug OpenOffice:
http://www.brain-dump.org/blog/entry/66
This wiki page mentions the hanging Office after installing an
extension, and how to fix that:
http://wiki.openoffice.org/wiki/Java_and_OpenOffice.org
-Andre
greets and thanks in advance, tobi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org