[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] How Do I Debug A Servlet?
|
What do I need to do to debug a Java servlet (not a JSP) in Eclipse using
Sysdeo/Tomcat?
I am running Eclipse RC1, Tomcat 4.1.24, Sysdeo V2.1, and Windows XP Pro.
I have developed my servlet and I can run it just fine in Tomcat but I'd
like to be able to debug it with the Eclipse debugger. I can resolve the
bugs in my code via System.out.println() but I'd rather use the debugger to
step-trace my way through the parts of my code that aren't quite 100% yet.
I tried clicking the Debug As option on the menu bar but the only options I
get are "Java Application", "Java Applet", "JUnit" and "Runtime Workbench".
I've tried each of those but none of them launches my servlet in debug mode
so I'm assuming that there is some other way to launch the debugger for
servlets.
By the way, I know that crossposting is usually considered bad netiquette
but since eclipse.tools is deprecated but still more active than
eclipse.platform, it seemed reasonable to crosspost in this case to ensure
that the maximum number of eclipse users saw this question.
--
Rhino
---
rhino1 AT sympatico DOT ca
"If you want the best seat in the house, you'll have to move the cat."