facebook

Unable to activate JSP debug mode

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

    jameszhu
    Member

    Hi,

    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.

    #257669 Reply

    jameszhu
    Member

    The 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.gif

    In 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?

    #257670 Reply

    jameszhu
    Member

    @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…’

    #258165 Reply

    simon
    Member

    The 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).

    #258402 Reply

    quangdog
    Member

    I am currently up against this as well.

    Anyone have an answer?

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Unable to activate JSP debug mode

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