facebook

Breakpoints in JSP includes

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #196615 Reply

    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!

    #196616 Reply

    Scott Anderson
    Participant

    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

    #196623 Reply

    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

    #196625 Reply

    Scott Anderson
    Participant

    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

    #196957 Reply

    Scott Anderson
    Participant

    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

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Breakpoints in JSP includes

You must be logged in to post in the forum log in