Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How Do I Debug A Servlet?
How Do I Debug A Servlet? [message #24495] Wed, 30 April 2003 17:09 Go to next message
Eclipse UserFriend
Originally posted by: rhino1.NOSPAM.sympatico.ca

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."
Re: How Do I Debug A Servlet? [message #26407 is a reply to message #24495] Thu, 01 May 2003 17:52 Go to previous message
Jerry Pisk is currently offline Jerry PiskFriend
Messages: 2
Registered: July 2009
Junior Member
See http://jakarta.apache.org/site/idedevelopers.html, last paragraph, you
don't even need any plugins if you don't need to debug JSP pages.

Jerry

"Rhino" <rhino1@NOSPAM.sympatico.ca> wrote in message
news:b8ovvk$cbq$1@rogue.oti.com...
> 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."
>
>
Previous Topic:creating a graphical header out of dynamic text with proportional font
Next Topic:Can we access the java parser AST?
Goto Forum:
  


Current Time: Fri Apr 26 02:28:17 GMT 2024

Powered by FUDForum. Page generated in 0.02881 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top