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

Revision history [back]

click to hide/show revision 1
initial version

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.

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.