Ask Your Question

Opendaylight in debugging mode

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

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 -0700

faizan gravatar image

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


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

Seen: 555 times

Last updated: Jan 25 '15