facebook

Can’t view the values of local variables in jsp on Resin

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    joeyhsiao
    Member

    Hi,

    I can’t view the values of local variables in jsp when debugging on Resin 3.0, but I can on Tomcat
    5.x. Does anyone what’s going on? Thanks in advance.

    Joey

    #239037

    Riyad Kalla
    Member

    Joey,
    What version of Eclipse/MyEclipse? What version of JDK are you running MyEclipse with and which version are you running Resin/Tomcat with? What version of Resin? What version of Tomcat? Resin Pro or Resin normal?

    #239040

    Scott Anderson
    Participant

    Joey,

    Resin, depending on version, has proven problematic for debugging over time due to sketchy JSR-045 support. A big thread on that is here:http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-5033-highlight-resin+ken.html

    What might be happening is that your breakpoint is being hit, but it isn’t stopping exactly where indicated due to optimizations in the generated code used by Resin, as detailed in the above thread.

    Or, it could be something else so answering Riyad’s questions would be the first steps toward finding out what’s up.

    #239042

    joeyhsiao
    Member

    Hi,

    The versions I used are as follows:

    jdk1.5.0_02
    eclipse 3.1.1
    MyEclipse 4.0.1
    Resin-3.0.12 normal
    Tomcat 5.5.9

    Thanks again for your help.

    Joey

    #239045

    Riyad Kalla
    Member

    Joey,
    I think Scott nailed it, if you start stepping through the code, do you see the variable in the debug view popup eventually or does it always not show them?

    #239049

    joeyhsiao
    Member

    Hi,

    The program is stoped in the breakpoint and I can step through, but the values of the local variables just didn’t come out, not even the names. If it is because the optimizations by Resin, can I turn it off. Thanks for your help

    Joey

    #239071

    Riyad Kalla
    Member

    Joey,
    It’s possible this could be the issue, you will need to double check the resin docs. I know that other servers like Weblogic have similar “debug” settings you need to set in the configuration so they compile the JSP pages with debugging information included.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Can’t view the values of local variables in jsp on Resin

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