facebook

JSP debug doesn’t stop at breakpoint.

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #231477 Reply

    xsun
    Member

    My environment
    Eclipse: Version: 3.0.1
    My Eclipse: Version: 3.8.4
    OS: Win XP Professional
    JSDK: 1.4.2

    When I put a breakpoint in a scriptlet in a JSP, start my web application, the debugger stops at
    <html:html locale=”true”>
    Then I hit F6 to ‘Step Over, the debugger stops at
    </html:html>

    As you can see, the scriptlet is skipped completely. How can I debug the scriptlet line by line as if debugging in a Java file?

    Thanks!

    xsun

    #231519 Reply

    Riyad Kalla
    Member

    xsun,
    Try setting the breakpoint at the first line of the scriplet’s code, instead of the surrounding tag. There is an issue with the source mapping jumping around when dealing with taglibs, it’s a hairy problem.

    #231524 Reply

    Scott Anderson
    Participant

    Also, providing information on what server your using and what JDK your using to launch it would help us determine what the issue is.

    #231532 Reply

    xsun
    Member

    I didn’t put breakpoint at the line of the tag, I put it somewhere in the middle of the scriptlet.
    I am running JBoss3, and JDK is 1.4.2.

    xsun

    #231539 Reply

    Greg
    Member

    What verion of JBoss3 specifically?

    Some versions of JBoss3 were bundled with Tomcat4, which don’t support JSR-45 (jsp debugging) and later versions were bundled with Tomcat5 which does support JSR-45.

    #231550 Reply

    xsun
    Member

    JBoss 3.2.4RC1, which uses Servlet Engine: Apache Tomcat/5.0.19.

    xsun

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: JSP debug doesn’t stop at breakpoint.

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