I use VisualAge for Java's JSP Execution Monitor - it gives you almost all you could want from the debugging side.

--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Play:        http://www.trongus.com
I've just returned from THE Java Programming Conference, http://www.SoftwareSummit.com - be there next year

----- Forwarded by dIon Gillard/Multitask Consulting/AU on 01/12/99 18:45 -----
Re: JSP Debugging tool


Well, real JSP debugging isn't easy.
I posted a message in the java.programmer newsgroup about servlet debugging
last week. About the same is true for JSP.

here's a copy of that message:

I've tried out a lot of different solutions to the servlet debugging and
finally found one that works very well for me. I use JPadPro as my editor
and really like it. I think you can do the same thing with KAWA.
I use Apache-JServ and start JServ in manual mode.
I have 3 different options of starting the JServ JVM. (console view, hidden
and debug)
For small problems, I use System.out.println like everybody.
This works fine when I start JServ in console mode. Even when started
hidden, or when the server is on another computer, I can use println. I have
a servlet that redirects the System.out stream to a 32K overflowing buffer
in memory. By refreshing the result, I can follow the system.out from any
browser.

If println isn't going to help me, I switch to real debugging mode. I start
LServ in debugging mode and get a password. In JPadPro, I select debug
class. Instead of the classname, I enter -password 5424ghi or whatever
password JServ gave me. I place some breakpoints and start the servlet from
the browser.
This works really great. I have all the options of normal debugging.

When you're still in development, you can also print some debugging figures
to the response stream as well.
The point where JSP becomes harder than normal servlet debugging is that you
have to put a breakpoint in the automatically generated servlet that's
created by the JSP engine.

Geert 'Darling' Van Damme



Joseph Chiu wrote in message <811lo6$[EMAIL PROTECTED]>...



> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ro, Jean
> Sent: dinsdag 23 november 1999 0:22
> To: [EMAIL PROTECTED]
> Subject: JSP Debugging tool
>
>
>         I am trying to find a tool that can help me debug JSP pages.
>         Does anybody know of any good tools?
>
>         Thanks in advance for your help.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html



Previous Document Next Document
Return to View
 

Reply via email to