- This topic has 10 replies, 2 voices, and was last updated 17 years, 4 months ago by Riyad Kalla.
-
AuthorPosts
-
joeserelMemberHello,
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
Riyad KallaMemberJoe,
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.
joeserelMemberThank 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?
Riyad KallaMemberCan 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?
joeserelMemberI 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,
Riyad KallaMemberIf 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/
joeserelMemberThank 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/
joeserelMemberAll 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.
Riyad KallaMemberThis 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?
joeserelMemberYes. 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,
Riyad KallaMemberI’m really sorry about this, I will make a note in our tracking system for a developer to look into this.
-
AuthorPosts