facebook

Servlet Debugging

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

    j_templeman
    Member

    Should it be possible to debug servlet code from inside MyEclipse? I’ve got Tomcat 5 installed and configured to run in debug mode, and I’ve started it from within MyEclipse.

    I’ve set a breakpoint in my servlet code, and then entered the URL into the internal browser… but the breakpoint doesn’t get hit.

    I’m sure I’m doing something very simple that’s wrong… any hints gratefully accepted!

    jt

    #219878 Reply

    Riyad Kalla
    Member

    Should it be possible to debug servlet code from inside MyEclipse?

    Yes absolutely, and JSP pages, EJBs, POJOs and anything else Java as well.

    I’m sure I’m doing something very simple that’s wrong… any hints gratefully accepted!

    Make sure you are running Eclipse AND Tomcat with JDK 1.4+, preferably the same version of Java. Also make sure that your Eclipse compiler settings are not removing all the debugging information from the generated class files.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Servlet Debugging

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