MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ccarneiro
Post subject: Breakpoints in JSP includes  PostPosted: Jul 02, 2003 - 10:35 PM



Joined: Jun 25, 2003
Posts: 6

Just wondering, is it supposed to be possible to debug JSPs which are statically included <%@ include file="incLoginCheck.jsp" %> or can one only debug the main jsp file? Thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jul 02, 2003 - 11:32 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Basically, yes. For the servers that support JSP debugging (Tomcat 5, WebLogic 7 & 8) this should work just fine. Are you seeing something different?

--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ccarneiro
Post subject: Debugging JSP  PostPosted: Jul 03, 2003 - 05:46 PM



Joined: Jun 25, 2003
Posts: 6

Yes I am sadly. If I set a break point within the included jsp file, it is ignored. However, the breakpoints I set in the main file that includes the jsp file, those work. I'm running with Tomcat 5
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jul 03, 2003 - 06:48 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

I just verified this with Tomcat 5 and you're correct. Breakpoints in included jsp's are not being hit. There appears to be an issue with associating the line with the include class. I don't know if this is a problem with Tomcat 5's JSR-045 implementation or ours, but I've entered it as a defect so we can get to the bottoom of it for the GA release.

Thanks for reporting it and sorry for the inconvenience.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jul 22, 2003 - 05:35 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

The GA release (v2.5.0) partially addresses this issue. You can now set breakpoints before any included JSP's and when you execute a "step over" on the include line, you'll be taken through the include file. However, this only works on Tomcat 5 and Bejy Tiger, not on WebLogic due to the way it creates its source maps.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 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
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits