- This topic has 4 replies, 3 voices, and was last updated 18 years, 2 months ago by quangdog.
-
AuthorPosts
-
jameszhuMemberHi,
This is my spec:
Ubuntu Dapper 6.06.1 / Eclipse 3.2 / My Eclipse 5.01GA / Sun JDK 1.5.0_08 / tomcat 5.5.17 (lauched with export MOZILLA_FIVE_HOME=””)I’ve deployed my simple web project (has only one index.jsp) with explode mode to the tomcat server, and it runs well. But the problem is that when I try to debug the index.jps, I can’t activate the debug mode. I deployed my web project, I started the tomcat in debug mode, I set the break point in the JSP editor, I pointed my browser to this jsp page and press refresh button, I expect MyEclipse switch to debug mode, but the jsp was run through and the MyEclipse IDE didn’t go into debug mode.
Please advise what’s gong wrong. Thanks.
jameszhuMemberThe other problem is, from the JSP editor I can only set break point within scriptlet code, I can _not_ set break point within plain HTML, for example, look at this picture:
http://myeclipseide.com/enterpriseworkbench/help/topic/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/images/jsp_helloworld_breakpointset_annot.gifIn this picture, a break point was set in plain HTML(not within a <% %> scriptlet), but I can do the same thing with the spec I listed above, when I double click the left ruler, I was told to ‘Add bookmark’, when I right click the left ruler, and select ‘Toggle breakpoint’, nothing happened, no breakpoint set.
What’s wrong here?
jameszhuMember@jameszhu wrote:
….. set in plain HTML(not within a <% %> scriptlet), but I can do the same thing with the spec I listed ….
Sorry, typo, should be ‘…but I can _not_ do the same thing…’
simonMemberThe other problem is, from the JSP editor I can only set break point within scriptlet code, I can _not_ set break point within plain HTML
I see the same. This used to work, but now that I upgraded to 3.2/5.0.1 it doesn’t anymore.
Furthermore, if I set a breakpoint in one JSP file, the debugger will stop at this line number in *all* jsp-files with the same name (we have quite a few “index.jsp” in at different paths in our project).
quangdogMemberI am currently up against this as well.
Anyone have an answer?
-
AuthorPosts