Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JSP breakpoints don't break?
JSP breakpoints don't break? [message #98883] Wed, 04 May 2005 15:01 Go to next message
Eclipse UserFriend
Originally posted by: info.nuwave-tech.com

I've got Eclipse M6, WTP M4, Tomcat 4.1.31, J2SDK1.4.2_08. I *think* I've
got everything set up correctly: I created a J2EE Dynamic Web project with a
J2EE Web module. I created a very simple JSP. I debug launch the Server. I
right-click my jsp and select Debug on server..... The browser is launched
and the jsp runs fine, but the debugger doesn't stop at the breakpoint.
(Eclipse does not automatically switch to the Debug perspective -- don't
know if that's relevant.). I've checked every setting I can find --
everything *seems* ok.

Can anyone tell me what I'm doing wrong?

TIA
Mark
Re: JSP breakpoints don't break? [message #98948 is a reply to message #98883] Wed, 04 May 2005 17:28 Go to previous messageGo to next message
Eclipse UserFriend
NuWave Technologies, Inc. wrote:
> I've got Eclipse M6, WTP M4, Tomcat 4.1.31, J2SDK1.4.2_08. I *think* I've
> Can anyone tell me what I'm doing wrong?

JSP debugging is supported using JSR45, which is only implemented by
Tomcat in versions 5.0 and higher.

--
- Nitin
Re: JSP breakpoints don't break? [message #98992 is a reply to message #98948] Wed, 04 May 2005 21:12 Go to previous messageGo to next message
Eclipse UserFriend
Mark,

Once you created your JSP file, what method did you use to register your
Web Service program with Tomcat? I am struggling with that right now
using the different simple Web Services program samples. I would
appreciate any help that you can give me on this.

TIA,
Ben
Re: JSP breakpoints don't break? [message #99034 is a reply to message #98883] Wed, 04 May 2005 23:09 Go to previous messageGo to next message
Eclipse UserFriend
On Wed, 4 May 2005 15:01:32 -0400, NuWave Technologies, Inc. <info@nuwave-tech.com> wrote:

> Can anyone tell me what I'm doing wrong?
>

Sounds like you're doing things right (assuming you have a JSR45 compliant server).

This is a bit of a wild guess, but a "user error" I often make is to press "skip all breakpoints"
in the debug window (at some earlier time) and then when I start debugging again, the setting is
still "skip all" so doesn't stop at any, even new ones added.

Also, be sure to try several locations. Its only supposed to allow you set breakpoints where
they are "legal", but not sure that's been well tested.
Re: JSP breakpoints don't break? [message #99260 is a reply to message #98948] Thu, 05 May 2005 10:27 Go to previous messageGo to next message
Eclipse UserFriend
"Nitin Dahyabhai" <nitind@us.ibm.com> wrote in message
news:d5bf52$cht$1@news.eclipse.org...
> NuWave Technologies, Inc. wrote:
> > I've got Eclipse M6, WTP M4, Tomcat 4.1.31, J2SDK1.4.2_08. I *think*
I've
> > Can anyone tell me what I'm doing wrong?
>
> JSP debugging is supported using JSR45, which is only implemented by
> Tomcat in versions 5.0 and higher.

I installed Tomcat 5.5 (which in turn required JDK 5) and everything seems
to be working now.

Thank you!


Mark
Re: JSP breakpoints don't break? [message #99275 is a reply to message #98992] Thu, 05 May 2005 10:31 Go to previous messageGo to next message
Eclipse UserFriend
"Ben" <bsisson@simventions.com> wrote in message
news:8db0a251d9601c071809467fd9bb43e6$1@www.eclipse.org...
> Mark,
>
> Once you created your JSP file, what method did you use to register your
> Web Service program with Tomcat? I am struggling with that right now
> using the different simple Web Services program samples. I would
> appreciate any help that you can give me on this.
>

Ben,

My app was a straight Java Server Pages app, it did not involve Web
Services. I haven't looked at the Web Services samples, so I don't have any
idea what's needed to get them working.

Mark
Re: JSP breakpoints don't break? [message #99290 is a reply to message #99034] Thu, 05 May 2005 10:34 Go to previous messageGo to next message
Eclipse UserFriend
"David Williams" <david_williams@us.ibm.com> wrote in message
news:opsp98eselac05ss@news.eclipse.org...
> On Wed, 4 May 2005 15:01:32 -0400, NuWave Technologies, Inc.
<info@nuwave-tech.com> wrote:
>
> > Can anyone tell me what I'm doing wrong?
> >
>
> Sounds like you're doing things right (assuming you have a JSR45 compliant
server).

I wasn't using a JSR45 compliant server. I wish there had been a more
explicit indication that a JSR45 server was required to debug JSP. Anyway,
with Tomcat 5.5 installed, I can now successfully debug. Thanks for
responding.
Re: JSP breakpoints don't break? [message #100677 is a reply to message #99290] Fri, 06 May 2005 20:42 Go to previous message
Eclipse UserFriend
On Thu, 5 May 2005 10:34:41 -0400, Mark Roy <mroy@nuwave-tech.com> wrote:


> [...] I wish there had been a more
> explicit indication that a JSR45 server was required to debug JSP.

Me too. We actually explored technical solutions to "query" the
server associated with a project to see if it supported JSR45 but
concluded there was no "spec'd" way to do it (or even an
industry defacto standard way to do it).

And, we concluded, it probably wasn't too high a priority, since, hopefully,
non-supporting servers will be a thing of the past before long :)

If you or others could contribute better documentation on either that
its required, or how to find out if a server does support it, feel
free to contribute to the 'documentation' component in bugzilla.
(or open a feature request).

Thanks
Previous Topic:JSP Color
Next Topic:M4 and Entity Bean
Goto Forum:
  


Current Time: Fri Aug 29 03:29:54 EDT 2025

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

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

Back to the top