Ask Your Question
0

Opendaylight in debugging mode

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

anonymous user

Anonymous

I am using Helium version of opendaylight. Which I run using ./run.sh 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
0

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

faizan gravatar image

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

try running it as ./run.sh -debug or ( ./run.sh 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

Follow
1 follower

Stats

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

Seen: 571 times

Last updated: Jan 25 '15