facebook

JSP debugging strange behaviour [Closed]

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

    Chris Irwin
    Participant

    My environment:
    eclipse 2.1.1
    myeclipse 2.6.3
    JDK 1.4.2_02
    tomcat 5.0.12

    My project settings:
    Project Home: d:\projects\rccsm-eclipse2
    Web-root: d:\projects\rccms-eclipse2\src\webapp
    src-root: d:\projects\rccms-eclipse2\src\java

    I was able to set a breakpoint in the following JSP:
    d:\projects\rccms-eclipse2\src\webapp\layouts\classicLayout.jsp
    and the debugger stopped in the JSP when it was accessed.
    I then set a breakpoint in the following JSP:
    d:\projects\rccms-eclipse2\src\webapp\writers\default\ManagedObjectPropertyWriter.jsp
    but when i restart Tomcat through MyEclipse launcher and access the JSP the debugger doesn’t stop at the breakpoint?

    Thanks,

    Chris

    #199649 Reply

    Chris Irwin
    Participant

    well, it seems to have started to work after a few restarts of Eclipse and Tomcat 5?

    Thanks,

    Chris

    #199653 Reply

    Scott Anderson
    Participant

    Chris,

    Good to hear. One other thing to remember is that breakpoint will stop only in ‘top-level’ JSP’s but you can still step into JSP fragments with the debugger.

    –Scott
    MyEclipse Support

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP debugging strange behaviour [Closed]

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