File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Debugging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Debugging" Watch "Debugging" New topic


Siddhesh Khedekar
Ranch Hand

Joined: Nov 09, 2009
Posts: 42
how to do single stepping of servlets in eclipse
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

1. Start your server in debug mode.
2. Attach the debugger.
3. Set the breakpoints.

Whichever IDE that you use, the steps are pretty much the same.

SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Check the Eclipse help text - it gives detailed steps on debugging servlets. (If you can't find it, ask and I'll dig up the exact location in the help text.)

JBoss In Action
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

Click on the icon which looks like an arrow going up, across a dash, and back down again.
I agree. Here's the link:
subject: Debugging
jQuery in Action, 3rd edition