How to debug with LOEclipse?

I have made an extension in Java using LOEclipse (A plugin for Eclipse).

I have tried to debug with “Debug As”->“LibreOffice Extension” my application but I get in Eclipse

java.net.BindException: Address already in use: bind

I have tried to add
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
for the JRE used in LO.
Nothing helps what should I do?

1 Like

To do normal debug you should not press “Debug As”->“LibreOffice Extension” instead you should select the project right click and then press “Debug As”->“Debug Configurations”. Hereafter you double click on “Remote Java Application”.
In Libre Office you have -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n for the JRE used.

1 Like