facebook

JSP Debugger doesn’t stop on breakpoint line [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #201364 Reply

    luns4d
    Member

    Environment Background:
    ———-
    O/S: Windows 2000 Professional v. 5.00.2195 Service pack 4

    Eclipse Version 2.1.1 build ID 200306271545

    Eclipse was first installed alone, then web tools added following instuctions from the book, “Eclipse in Action” by David Gallardo, Ed Burnette and Robert McGovern; Published by Manning. The install never got anything with the Tomcat server to see/ work.

    So yes, the external pluggins from this book are installed.

    6 plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*

    MyEclipse version: 2.6.100
    JDK version to run Eclipse and app server (Tomcat) is : 1.4.1
    I am using Tomcat 5 vr: 5.0.16
    ———-

    The Problem:
    ———
    The Debugger doesn’t stop on the proper breakpoint line.
    In the 2nd Part of the Tutorial, I attempt to do the “Native JSP Debugging.”

    a) I set the breakpoint specificed in figure 7.
    b) I Refresh the browser window.
    c) Tomcat stops execution, the Eclipse Debug window “label” (term??) flashes.
    d) When I switch to the Eclipse window, the debug has stopped and highlights on the first printed line of the jsp, “<html>”
    My understanding is the debugger should be stopped on the breakpoint line => out.println(…
    Why is the debugger not stopping on the proper line?

    I have set the breakpoint on the proper out.println() line. The breakpoint is initially a solid blue dot and changes to a dot & checkmark when debugging.

    -Gary

    #201372 Reply

    Scott Anderson
    Participant

    Gary,

    This is a known bug in Tomcat 5.0.16 that is documented with a workaround here:
    https://www.genuitec.com/forums/topic/debugging-jsps-with-tomcat-5-0-16-closed/

    –Scott
    MyEclipse Support

    #201383 Reply

    luns4d
    Member

    That fixed it. Thank you.

    -Gary

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP Debugger doesn’t stop on breakpoint line [Closed]

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