How to debug code with Karaf [closed]

asked 2015-05-06 23:39:07 -0800

Hi,

I am running opendaylight on windows and I tried karaf.bat -debug. I tried to launch Remote Java Application from eclipse using localhost:8080 and localhost:5005 (5005 was set in karaf.bat set DEFAULTJAVADEBUGOPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dtsocket,server=y,suspend=n,address=5005).

But none of it worked.

Please let me know how to make it work.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by kanika28
close date 2015-05-07 00:14:10

Comments

Just found this link: https://wiki.opendaylight.org/view/GettingStarted:_Eclipse#Attaching_the_Debugger_to_a_Running_ODL Closing this question.

kanika28 ( 2015-05-07 00:13:47 -0800 )edit