Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Debuging standalone equinox with eclipse remote java application

I tried starting the equinox in debug mode with following command 

sudo java -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y -jar org.eclipse.osgi_3.6.1.R36x_v20100806.jar -console

so that later I can connect to port 8000 from eclipse using remote java application debug configuration and debug my web application running 
with the jetty bundle of equinox. With this command jpda started on port 800 but it does not start the osgi nor does it give a normal console 

Then i ran the following command [ post : http://www.mail-archive.com/equinox-dev@xxxxxxxxxxx/msg00511.html ]

sudo java -jar org.eclipse.osgi_3.6.1.R36x_v20100806.jar -console -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y -Xdebug

so osgi started but not in debug mode. also telnet localhost 8000 did not work.


--
-  i rock
nattu

Back to the top