[opencms-dev] IDE Integrated Debugging --> Solution!!!
Joachim Arrasz
info at arrasz.de
Fri Aug 15 12:58:02 CEST 2003
Hello List,
>Figure it out and tell me. :-)
so i`ll tell you my solution for me, which works fine :-)
i did the following:
made a new startup.bat called startup_debug.bat which uses intern a new
catalina_debug.bat which is just a simple copy from catalina.bat
made the ollowing changes in catalina_debug.bat:
CATALINA_OPTS=%CATALINA_OPTS% -Xdebug -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7001
saved this and finished. Now it`s possible to use Netbeans and Eclipse
tools for remote debugging. YOu just have to do this in Netbeans:
Debug -> Start Session -> Attach -> Connector: Socket Attach -> Host:
"localhost" e.G. -> Port: 7001 e.G. - that`s it.
Set your breakpoints and try it ..
Hope this helps
Kind Regards
Achim
More information about the opencms-dev
mailing list