Skip to main content



      Home
Home » Newcomers » Newcomers » JSP debugging
JSP debugging [message #97469] Thu, 25 August 2005 14:21 Go to next message
Eclipse UserFriend
Originally posted by: freestuff2k4.yahoo.com

Hi, greetings.

I'd like to know what is the best way to debug JSP pages. I have Eclipse 3.1
and Tomcat 5.5.9 setup.

After searching around the Internet, my impression is that we can only set
breakpoints in the **_jsp.java file to debug it. Is it true? Is there a way
to set breakpoints on JSP page directly?

I found that all my **_jsp.java files are in work\org\apache\jsp directory.
I was able to set breakpoints in the files and debug them ONLY IF I turn on
"Build Automatically" setting. Is this setting a requirement? Or I did
something wrong?

Thanks for the help.

IG.
Re: JSP debugging [message #97538 is a reply to message #97469] Thu, 25 August 2005 22:10 Go to previous messageGo to next message
Eclipse UserFriend
IrvineG wrote:
> I'd like to know what is the best way to debug JSP pages. I have Eclipse 3.1
> and Tomcat 5.5.9 setup.
>
> After searching around the Internet, my impression is that we can only set
> breakpoints in the **_jsp.java file to debug it. Is it true? Is there a way
> to set breakpoints on JSP page directly?

The JSP editor in the Web Tools Platform (WTP) will allow you to set
breakpoints that you can debug using both WTP's server tools and the
Sysdeo Tomcat plugin. There are many other commercial offerings
that allow for JSP debugging as well.


Sysdeo Tomcat Launcher plugin:
http://www.sysdeo.com/eclipse/tomcatplugin
Eclipse WTP: http://eclipse.org/webtools (and
http://www.eclipse.org/webtools/development/updatesite/updat esite.html)

--
- Nitin
Re: JSP debugging [message #97708 is a reply to message #97538] Fri, 26 August 2005 08:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com

In article <deltng$kjs$1@news.eclipse.org>, nitind@us.ibm.com says...
> IrvineG wrote:
> > I'd like to know what is the best way to debug JSP pages. I have Eclipse 3.1
> > and Tomcat 5.5.9 setup.
> >
> > After searching around the Internet, my impression is that we can only set
> > breakpoints in the **_jsp.java file to debug it. Is it true? Is there a way
> > to set breakpoints on JSP page directly?
>
> The JSP editor in the Web Tools Platform (WTP) will allow you to set
> breakpoints that you can debug using both WTP's server tools and the

How do I get to (start) the JSP editor? I've been looking through the
menus and options, and can't find it.

.....

--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: JSP debugging [message #97723 is a reply to message #97708] Fri, 26 August 2005 08:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com

In article <MPG.1d78ceb4a1ce8973989690@news.eclipse.org>,
ns_dkerber@ns_WarrenRogersAssociates.com says...
> In article <deltng$kjs$1@news.eclipse.org>, nitind@us.ibm.com says...
> > IrvineG wrote:
> > > I'd like to know what is the best way to debug JSP pages. I have Eclipse 3.1
> > > and Tomcat 5.5.9 setup.
> > >
> > > After searching around the Internet, my impression is that we can only set
> > > breakpoints in the **_jsp.java file to debug it. Is it true? Is there a way
> > > to set breakpoints on JSP page directly?
> >
> > The JSP editor in the Web Tools Platform (WTP) will allow you to set
> > breakpoints that you can debug using both WTP's server tools and the
>
> How do I get to (start) the JSP editor? I've been looking through the
> menus and options, and can't find it.

Let me clarify: I guess I've been using the jsp editor, but how do I
get it to stop at breakpoints set in jsp pages? I've never managed to
do that.


--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: JSP debugging [message #106996 is a reply to message #97723] Mon, 03 October 2005 22:21 Go to previous message
Eclipse UserFriend
David Kerber wrote:
> In article <MPG.1d78ceb4a1ce8973989690@news.eclipse.org>,
> ns_dkerber@ns_WarrenRogersAssociates.com says...
>
>>In article <deltng$kjs$1@news.eclipse.org>, nitind@us.ibm.com says...
>>
>>>IrvineG wrote:
>>>
>>>>I'd like to know what is the best way to debug JSP pages. I have Eclipse 3.1
>>>>and Tomcat 5.5.9 setup.
>>>>
>>>>After searching around the Internet, my impression is that we can only set
>>>>breakpoints in the **_jsp.java file to debug it. Is it true? Is there a way
>>>>to set breakpoints on JSP page directly?
>>>
>>>The JSP editor in the Web Tools Platform (WTP) will allow you to set
>>>breakpoints that you can debug using both WTP's server tools and the
>>
>>How do I get to (start) the JSP editor? I've been looking through the
>>menus and options, and can't find it.
>
>
> Let me clarify: I guess I've been using the jsp editor, but how do I
> get it to stop at breakpoints set in jsp pages? I've never managed to
> do that.

Basically you have to run Tomcat within Eclipse. WTP has Server
Tools to help you do this by first defining a Runtime within the
Server Preferences and then by debugging an instance of that server
using the Servers view.

--
- Nitin
Previous Topic:Eclipse does not like taglib tag in web.xml
Next Topic:WST Plugin: HTML Syntax Highlighting
Goto Forum:
  


Current Time: Tue Jul 22 09:14:25 EDT 2025

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

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

Back to the top