Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1131
  • Last Modified:

Remote debugging Jetty

Hi,

I'm developing a web application using Jetty as my web server. How can I debug the server Jetty code for testing? I'm using eclipse. I'm open to any options, I just need to be able to step debug my project so I can see what's going on.

Thanks
0
DJ_AM_Juicebox
Asked:
DJ_AM_Juicebox
1 Solution
 
Dejan PažinHead of SW DevelopmentCommented:

You have to start the server in debug mode, and then connect to that from eclipse. To start any Java process in debug mode you add parameters to startup, e.g.:

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044

Here are some more detail descriptions:

http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
http://www.eclipsezone.com/eclipse/forums/t53459.html
0
 
chaitu chaituCommented:
when you are able to configer jetty in eclipse.when you start the server in debug mode automatically you an debug the code in eclipse.put the break points in code.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now