Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Debugging JSPs
Debugging JSPs [message #60330] Tue, 04 January 2005 14:06 Go to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

I have a Web Project with some Servlets and JSPs. I have added
breakpoints to both.
If I debug the application on Tomcat 5.0.28 the debugger stops in
Servlets and JSPs. But if I debug the application on Tomcat 4.1.31 it
just stops in Servlets. It doesn't stop in JSPs.

Is debugging of JSPs supported since Tomcat 5.x? Or it should work also
with Tomcat 4.1.x?

Thanks in advance,

Chemi.
Re: Debugging JSPs [message #60424 is a reply to message #60330] Tue, 04 January 2005 15:15 Go to previous messageGo to next message
Eclipse UserFriend
Chemi wrote:
> Is debugging of JSPs supported since Tomcat 5.x? Or it should work also
> with Tomcat 4.1.x?

Although it's rather hard to find a definitive answer, I believe
Tomcat 5.x introduced JSR-45 support. The modified Tomcat 4.1 used
for the JSP 2.0 early access reference implementation lacked it.

---
Nitin
Re: Debugging JSPs [message #60881 is a reply to message #60424] Tue, 04 January 2005 18:12 Go to previous messageGo to next message
Eclipse UserFriend
Nitin Dahyabhai wrote:
> Chemi wrote:
>> Is debugging of JSPs supported since Tomcat 5.x? Or it should work
>> also with Tomcat 4.1.x?
>
> Although it's rather hard to find a definitive answer, I believe
> Tomcat 5.x introduced JSR-45 support. The modified Tomcat 4.1 used
> for the JSP 2.0 early access reference implementation lacked it.

I have Tomcat 5.0.19 installed locally and have exacly the same problem
-- debugging stops in servlet compiled from jsp page (and not the page
directly). I tought that it was problem with my tomcat, and I didn't
have time to investigate it futher.


Cheers,
a/
Re: Debugging JSPs [message #60988 is a reply to message #60881] Wed, 05 January 2005 04:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Adam Kruszewski wrote:

> I have Tomcat 5.0.19 installed locally and have exacly the same problem
> -- debugging stops in servlet compiled from jsp page (and not the page
> directly). I tought that it was problem with my tomcat, and I didn't
> have time to investigate it futher.
>
> Cheers,
> a/

Hummm... well it is not exactly my problem. In my case with Tomcat
5.0.28 everything works ok. The problem is with Tomcat 4.1.31 where
breakpoints in JSPs doesn't work (neither in the generated servlet).

Regards,

Chemi.
Re: Debugging JSPs [message #61157 is a reply to message #60881] Wed, 05 January 2005 07:05 Go to previous messageGo to next message
Eclipse UserFriend
Adam Kruszewski wrote:
> I have Tomcat 5.0.19 installed locally and have exacly the same problem
> -- debugging stops in servlet compiled from jsp page (and not the page
> directly). I tought that it was problem with my tomcat, and I didn't
> have time to investigate it futher.

If you're using WTP's Server tools, you might have to enable Tomcat
debugging as indicated at the very end of
http://www.eclipse.org/webtools/wst/components/sse/m2/m2.xml .

--
- Nitin
Re: Debugging JSPs [message #61201 is a reply to message #61157] Wed, 05 January 2005 07:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Nitin Dahyabhai wrote:

> Adam Kruszewski wrote:
>
>> I have Tomcat 5.0.19 installed locally and have exacly the same problem
>> -- debugging stops in servlet compiled from jsp page (and not the page
>> directly). I tought that it was problem with my tomcat, and I didn't
>> have time to investigate it futher.
>
>
> If you're using WTP's Server tools, you might have to enable Tomcat
> debugging as indicated at the very end of
> http://www.eclipse.org/webtools/wst/components/sse/m2/m2.xml .

Humm, it is funny. I didn't know about that option. In my case, I
haven't it checked and JSP debug worked with Tomcat 5.0.28.

The checkbox label is: Enable Tomcat debug mode (4.x and above). So it
should work with Tomcat 4.1.31. But after checked that option, the
debugger still not stopping at JSP breakpoints.

Anybody is able to debug JSP with Tomcat 4.1.x and WTP 1.0 M2?

Thanks in advance,

Chemi.
Re: Debugging JSPs [message #65331 is a reply to message #61201] Thu, 13 January 2005 09:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I'm not sure why the tutorial suggests setting the Tomcat debug flag. AFAIK
that should not have any effect on JSP debugging. I can confirm that JSR-45
support is the reason Tomcat v5.0+ works, and older versions of Tomcat do
not support JSP debugging.
Re: Debugging JSPs [message #66146 is a reply to message #65331] Wed, 19 January 2005 05:56 Go to previous message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Tim deBoer wrote:

>Hi,
>
>I'm not sure why the tutorial suggests setting the Tomcat debug flag. AFAIK
>that should not have any effect on JSP debugging. I can confirm that JSR-45
>support is the reason Tomcat v5.0+ works, and older versions of Tomcat do
>not support JSP debugging.
>
Thanks Tim. That makes the situation clear.
BTW, which is the usage of that debug flag then (Enable Tomcat debug
mode (v4.x and above only))?

Thanks in advance,

Chemi.
Previous Topic:Help - Installation problems
Next Topic:Applet configuration
Goto Forum:
  


Current Time: Sun Jun 08 14:54:51 EDT 2025

Powered by FUDForum. Page generated in 0.03256 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top