MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to General Development
View previous topic Printable version Log in to check your private messages View next topic
Author Message
support-scott
Post subject: JSP Debugging with Tomcat 5 [Closed]  PostPosted: Jun 23, 2003 - 11:43 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
pkorros
Post subject: how can i set a break point in a jsp page?  PostPosted: Jun 24, 2003 - 11:33 AM



Joined: May 06, 2003
Posts: 106

how can i set a break point in a jsp page?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jun 24, 2003 - 02:02 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
AllenConquest
Post subject:   PostPosted: Apr 19, 2004 - 12:53 PM
Registered Member
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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Apr 19, 2004 - 02:38 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
AllenConquest
Post subject:   PostPosted: Apr 19, 2004 - 02:53 PM
Registered Member
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!!
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits