| Author |
Message |
|
|
Post subject: JSP Debugging with Tomcat 5 [Closed]
Posted: Jun 23, 2003 - 11:43 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6760
|
|
Tomcat 5 has full support for JSR-045 and so does MyEclipse 2.1.1 EA2 and later. You don't need to do anything special to enable debugging on Tomcat 5, just deploy your web app, set your breakpoints, and invoke your JSP pages.
For earlier versions of Tomcat, I'd suggest developing on Tomcat 5 and deploying on the earlier releases for production to get a nice mix of developer ease and production reliability.
--Scott
MyEclipse Support |
Last edited by support-scott on Jul 12, 2004 - 07:56 PM; edited 1 time in total
|
| |
|
|
|
 |
|
|
Post subject: how can i set a break point in a jsp page?
Posted: Jun 24, 2003 - 11:33 AM
|
|
Joined: May 06, 2003
Posts: 106
|
|
how can i set a break point in a jsp page? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 24, 2003 - 02:02 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6760
|
|
Basically, just like you do on a Java class:
1) Open the JSP page with the MyEclipse JSP editor (It has to be our editor)
2) Double-click in the left margin on the page, next to the line of Java where you'd like the breakpoint.
3) The standard circular, blue marker will be drawn.
When you execute the page within Tomcat 5, the code will be loaded so the breakpoint will be redrawn to include a check mark and when the line is hit you'll be sent to the debug perspective, if that's how you have your Eclipse preferences set.
--Scott
MyEclipse Support |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 19, 2004 - 12:53 PM
|
|
Registered Member


Joined: Apr 01, 2004
Posts: 18
|
|
I now have JSP debugging in Tomcat 5 working. But I use a lot of JSTL/Struts tags, and it seems that the debugger can't handle these. Just a simple Struts JSP file starting with <html:html> stops the debugger getting to any breakpoints within this tag. Is there a way round this, or is it a known problem with debugging tags ?
Thanks,
Allen |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 19, 2004 - 02:38 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Allen,
We have seen this behavior and are looking into it. However it is behind a few top-priority items for MyEclipse 2.8 so we may not find a resolution immediately. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 19, 2004 - 02:53 PM
|
|
Registered Member


Joined: Apr 01, 2004
Posts: 18
|
|
Thanks for responding so promptly. I look forward to trying 2.8 and hope that you can take a look at this soon. Apart from this little glitch MyEclipse is a fantastic addon to Eclipse and make developing so much easier.
Keep up the good work!! |
|
|
| |
|
|
|
 |
|
|