facebook

JSP debugging using Jetty MyEclipse 5.5

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #272262 Reply

    joeserel
    Member

    Hello,

    I have two MyEclipse projects. One works fine with JSP debugging: when I double click the left side bar, it adds a breakpoint. The other does not work well: when I double click, it shows “Add Bookmark” dialogue. They both looks like using MyEclipse JSP Editor. I am not sure what I did in the second project and disabled the JSP debugging.

    Is there a way to turn it back on? I tried to compare .project .ml files between these two projects but they look the same.

    Thanks,

    Joe

    #272274 Reply

    Riyad Kalla
    Member

    Joe,
    In the broken proejct, try right-clicking on your JSP files and going to Open With, and make sure the editor you are using or the editor that is default (black dot next to it) is the MyEclipse JSP Editor or MyEclipse Visual JSP Editor.

    #272275 Reply

    joeserel
    Member

    Thank you Riyad.

    I tried OpenWith. It is using MyEclipse Visual JSP Designer. I am using MyEclipse 5.5.
    Also, MyEclipse Visual JSP Designer is the default.

    I also tried MyEclipse JSP Editor, none of them work.

    Stil no go. Any other ideas?

    #272277 Reply

    Riyad Kalla
    Member

    Can you right-click and “Toggle Breakpoint”? Very strange… I wonder if you have another plugin installed that could be contributing something to the gutter and screwing up it’s default behavior? Like an editor-plugin along the lines of AnyEdit maybe?

    #272279 Reply

    joeserel
    Member

    I did use “toggle BreakPoint” it does not do anything.

    I only installed MyEclipse and SubClipse and Mylar. It is indeed strange, and remmeber I have a project working fine.

    I’ll try couple of more times and see if there is anything else screw up the whole thing.

    Thanks,

    #272305 Reply

    Riyad Kalla
    Member

    If you right-click on the problem project and go to Properties, then MyEclipse, which icons are lit up? If you then click on “Web” under MyEclipse, what values do you have for the two text boxes?

    Also have you tried restarting using -clean?

    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    #272395 Reply

    joeserel
    Member

    Thank you Riyad.

    I have found that I can not add break points at those JSTL tags however I have no problem add break points at jsp: tags.

    I thought that means my taglib is not in my classpath but I did find jakarta standard.jar and jstl.jar are both in my classpath.

    Keep digging… if you can think of something I missed, please let me know.

    @support-rkalla wrote:

    If you right-click on the problem project and go to Properties, then MyEclipse, which icons are lit up? If you then click on “Web” under MyEclipse, what values do you have for the two text boxes?

    Also have you tried restarting using -clean?

    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    #272396 Reply

    joeserel
    Member

    All my JSPs started as
    <%@ include file=”taglibs.jsp”%>

    because taglibs.jsp is the common part. If I remove this line and copy in the complete content inside taglibs.jsp, the debug for <c>, <fmt>, etc. works.

    The codes run fine in runtime with <%@ include file=”taglibs.jsp”%> so there is no error. However, debug does not work when I use “include” directive.

    The other project has the same directory structure and uses <%@ include file=”taglibs.jsp”%>, everything works fine.

    #272436 Reply

    Riyad Kalla
    Member

    This is certainly strange… you have two projects, one works and one doesn’t, right?

    Is there anything different about them? The capabilities they use? The Java EE spec level they use?

    #272437 Reply

    joeserel
    Member

    Yes. Capabilities are exactly the same. They only have web capability. Both using Java EE 5.

    For now, I just use the workaround, copy all the taglibs reference in the page I want to debug and replace them with include after I am done. That’s the best I can do,

    #272476 Reply

    Riyad Kalla
    Member

    I’m really sorry about this, I will make a note in our tracking system for a developer to look into this.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: JSP debugging using Jetty MyEclipse 5.5

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