a very crude way you can debug your code is through simply print using
System.out.println( ) inside your code where you have some doubt ( really
crude isn't it). i'm using this method with java web server because i'm
having the same problem of debugging servlet without proper way to debug in
development env. at least i'm not aware of any such method.
please inform me if you find some way out except for printing on the
webserver screen.
cheers,
Rahul
Mike Cannon-Brookes <[EMAIL PROTECTED]> on 09/06/99 03:32:37 PM
Please respond to "A mailing list for discussion about Sun Microsystem's
Java Servlet API Technology."
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Rahul Dwivedi/LTITLVSH)
Subject: Servlet debugging?
G'day all,
How does one debug a servlet in JSDK2.1? The NullPointerException message
is
not in the least bit useful for a long complex servlet after staring at it
for a long while. ;)
Is there no way to step through and debug the servlet code? (eg using
breakpoints, variable / thread viewing etc?)
My development environment is MS Visual J++ but I am open to other ideas. I
know VisualAge Enterprise has some built in features, but I don't feel like
paying the $$ just for a debugging environment.
Any info much appreciated,
Cheers,
Mike
__
| | The BookmarkBox - http://www.bookmarkbox.com
| | Manage and share your bookmarks, online!
|/\|
___________________________________________________________________________
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