Use a debugger from www.newatlanta.com, it's free.

The way it works is this:
1.  Mark the ServletExecDebuggerMain as main class to execute.
2.  Run it - it will tell you that it's listening on some port
3.  Open browser and access your servlet as
localhost:[port]/servlet/com.yourcompany.MyServlet

You'll see in Kawa's output window that the request was received and is being
processed.  As an added bonus you also see the stdout

dave.

"Lewis, Grant" wrote:

> I'm using the Kawa IDE and JRun and I'm not having much success debugging
> servlets. I'm trying to run the debugger against the SnoopServlet included
> with the JRun distribution. I have a project created with the following
> interpreter options.
>
> Java Class to Run
>         com.livesoftware.jrun.service.ServiceManager
> Command Line Argument
>         c:\jrun\jsm-default
>
> I set a breakpoint in my servlet, select the Run option from the Build menu,
> and start the Kawa debugger. Now I try to execute the servlet in my browser
> by using the URL http://localhost:8888/servlet/SnoopServlet. When I do this
> the results show up in my browser, but nothing happens in the Kawa debugger.
> Anybody know what I'm doing wrong?
>
> Grant
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
David Mossakowski              [EMAIL PROTECTED]
Programmer                           212.310.7275
Instinet Corporation

"I don't sit idly by, I'm planning a big surprise"

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to