Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Opendaylight in debugging mode

asked 2015-01-25 05:16:05 -0800

anonymous user


I am using Helium version of opendaylight. Which I run using ./ and not using karaf (which is so in latest version of release). Is there any way to use opendaylight in debugging mode. Please help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-25 07:17:08 -0800

faizan gravatar image

updated 2015-01-25 07:18:35 -0800

try running it as ./ -debug or ( ./ debug )... it should listen to port 8000 and in eclipse try remote debugging at port 8000.

To remotely debug the controller you first need to start ODL with the -debug flag.

In Eclipse choose Run->"Debug Configurations" Under "Remote Java Application" choose a standard connection type, and enter the hostname (localhost or remote controller name) and port (8000 by default). Under the "Source" tab click "Add" and then "Java Project". This will give you a list of all java projects in the workspace. Select them all and click OK a few times to close out of the dialogs. Note: this should only be required once per debug configuration. Click debug to launch the debugger.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-01-25 05:16:05 -0800

Seen: 944 times

Last updated: Jan 25 '15