Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add notes on how to configure Eclipse to debug

...

ant -Djvmargs="-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n" clean-db run

Once Wookie is running in debug mode you need to connect to it using your debugger.

Debugging with Eclipse

To connect Eclipse to Wookie running in debug mode on your local machine you would:

{{Run -> Debug Configurations... }}

Select "Remote Java Application"

Click "New Launch Configuration"

Set as follows:

Name: Wookie Debug (Localhost)
Project: Click "Browse" and select your Wookie project
PORT: 8001

Now click the "Debug" button (note you *must be running Wookie first).

You can now set breakpoints etc. as if you were running from within Eclipse.

Once you have set up this "debug configuration" you can quickly access it from your debug menu.

For more on remote debugging with Eclipse see http://www.eclipsezone.com/eclipse/forums/t53459.htmlImage Added

Note, you can set up a run configuration to be able to run Wookie from the UI of Eclipse, but I'll leave that for you to work out as I use the command line.

Running Wookie with Tomcat and MySQL

...