Easy, just set the Project Properties | Launch | Custom arguments to include
the servlet engine class name.
Eg for 2.0 servlet runner, you use /p /cp:p "<JAVAPACKAGES>"
sun.servlet.http.HttpServer -d <properties dir>
Then, put a breakpoint in your servlet somewhere, start your program using
F5 in J++, and as soon as your program hits the breakpoint up it comes in
J++
Cheers
Geoff
-----Original Message-----
From: Dervis Cokbilir <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, 24 August 1999 15:22
Subject: Debugging with Visual J++
>Hi;
>
>I have been using Visual J++ and [Sun's|Apache's] servlet engine. So
>far, Sun's I have used sun's servletrunner with system.out to print
>errors on the console, but this is kind of pain. Is there a way of
>debugging the code from Visual J++ ?
>
>Thanks ...
>
>__________________________________________________
>Do You Yahoo!?
>Bid and sell for free at http://auctions.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
>
___________________________________________________________________________
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