facebook

Problems with debugging

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

    System Setup ——————————-
    Operating System and version: Windows XP
    Eclipse version: 2.1.2
    Eclipse build id: 200311030802
    MyEclipse version: 2.7 RC2
    Eclipse JDK version: 1.4.2
    Application Server JDK version: j2sdk1.4.2_03

    – Message Body ——————————-

    Hi there.. I am new to MyEclipse. I was testing the software to see wat it all can do. I build a realy simple JSP page and I tried to debug it. I put breakmark on the only code I added to the standard template. The code was <% out.println(“Hello”); %> .

    When the debugger was running instead of jumping to the breakline it started at the tag <base href=”<%=basePath%>”> . Strange, because there was no breakpoint there and no error. When i tried to step over it the following error occured from a service ‘page’: Source not found for JspServletWrapper.service(HttpServletRequest, HttpServletResponse, boolean) line: 359. When I tried to step further it gave a lot of that kinds of error’s. I couldn’t reach the code where the breakpoint was at.

    Why doesn’t the debugger go to the breakpoint and why do i get error where there is simple html code.

    #201841 Reply

    Riyad Kalla
    Member

    Are you using Tomcat 5.0.14/16? There is a known bug that was fixed in it that will be out in the new release (whenever that may be).

    #201881 Reply

    Thanxs, then I will try an older version of Tomcat and hope that this wil resolve the problem.

    #201903 Reply

    Riyad Kalla
    Member

    Don’t try too old of a version, Tomcat 4.x doesn’t support debugging (Doesn’t support required JSR)

    #201949 Reply

    Scott Anderson
    Participant

    There is also a workaround to the Tomcat 5.0.16 source mapping bug posted here:
    https://www.genuitec.com/forums/topic/debugging-jsps-with-tomcat-5-0-16-closed/

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problems with debugging

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