On 04/03/2010 07:30, Raido Kuli wrote:
How could i easly debug Wookie with eclipse or something. I'm not very
familiar with Log4j.

The incantation to run Wookie in debug mode is on http://cwiki.apache.org/confluence/display/WOOKIE/Downloading+and+Installing+Wookie

I've added the following notes to that section (may not have updated on the public site by the time you read this).

Once Wookie is running in debug mode you need to connect to it using your debugger. For example, in Eclipse 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 "Debug.." (note you *must be running Wookie first).

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

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

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.

Ross

Reply via email to