Hi Michael,
I would create the log object in servlet, pass the
reference of it to the class you are calling to do the
job. This way you can not only debug but also log some
important information.
Venkat
--- Joe Hall <[EMAIL PROTECTED]> wrote:
> Try the servlet exec debugger from newatlanta.
> www.servletexec.com
>
> -----Original Message-----
> From: Michael Lu
> To: [EMAIL PROTECTED]
> Sent: 9/8/2000 12:35 PM
> Subject: best way to debug?
>
> Hi
>
> I'm wondering how you guys debug your servlet
> applications?
>
> the log() method is useful inside the servlet, but
> not available in the
> non-servlet Java classes
>
> I have one servlet acting as the main program that
> delegate user request
> to different objects(classes i created)...when an
> error occurs, I cannot
> simply put log() in the helper classes.
>
> how do people do it?
> please share any debugging tips you have, thanks=)
>
> Michael
>
>
________________________________________________________________________
> ___
> 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
>
>
___________________________________________________________________________
> 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
=====
vsr
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
___________________________________________________________________________
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