facebook

MyEclipse misses breakpoints in jspf’s

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #230238 Reply

    gmowery
    Member

    We have just switched from java tags to jsp’s and jspf’s for our app. We have also decided on MyEclipse as the editor of choice for our development team, but I am having some difficulty stepping into/through code in testing this tool out.

    Environment:
    Eclipse 3.0.2
    MyEclipse 3.8.4+QF2
    webogic 8.1 (remotely deployed)

    The problem we are having is the breakpoints in jsp files debug fine. Once it gets to an include (most are include via this mechanism)
    if (condition)
    {
    %>
    <%@ include file=”/include/fragments/person_details/active_task_info.jspf” %>
    <%
    }

    the cursor jumps to some random spot in the JSP, and starts stepping again. Any break points in jspf’s are ignored, making life very fustrating at this moment :D. I am sure its some setting that is probably plain as my nose in front of me, but I can’t find the solution to this problem.

    help please!!!
    Greg

    #230277 Reply

    Riyad Kalla
    Member

    Greg,
    Unfortunately this is a known problem with the source mapper getting confused on the information it gets back from the app server. Considering that the include file is inlined in the JSP, the app server will report a line number that simply doesn’t exist in the current file, so the 1:1 line mapping breaks down and MyEclipse freaks out. We have a bug filed for this and will hopefully look into it for our 5.0 release.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MyEclipse misses breakpoints in jspf’s

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