facebook

JSP debug trouble

💡
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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #243841 Reply

    urswag
    Member

    Hello
    I cannot not step into the generated JSP java file.
    The thread is suspended in line editBook.jsp line 11.

    
    Thread [http-0.0.0.0-8080-Processor25] (Suspended (breakpoint at line 11 in editBook_jsp))
        editBook.jsp line: 11
        editBook_jsp(HttpJspBase).service(HttpServletRequest, HttpServletResponse) line: 94
        editBook_jsp(HttpServlet).service(ServletRequest, ServletResponse) line: 810
        JspServletWrapper.service(HttpServletRequest, HttpServletResponse, boolean) line: 324
        JspServlet.serviceJspFile(HttpServletRequest, HttpServletResponse, String, Throwable, boolean) line: 292
        JspServlet.service(HttpServletRequest, HttpServletResponse) line: 236
            ...
    

    But I cannot step into editBook_jsp(HttpJspBase).server …. line 94.
    Source not found. is the editor’s error message. The point is
    I have added manually with Edit Source Looup Path the path

    
    LibraryWeb - C:\Programme\JBoss\server\default\work\jboss.web\localhost
    

    Unfortunately it has no effect. What shall I do?

    Thanks

    #243865

    Riyad Kalla
    Member

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #243937

    benethridge
    Member

    Hi. I’ll try to do it for the previous writer, as I’m having the same problem. The essential question is: How does one debug into the servlet created from the JSP?

    I’ve already tried the tutorial at: http://www.laliluna.de/debugging-jsp-java-tutorial.html

    …but I get stuck when I try to point to the servlet source code, which is buried pretty deep in the dir structure, and is VERY slow to walk down to. (That one’s a bit wierd.)

    I don’t believe the tutorial even discusses that point. In fact, the structure of the app project (i.e. where the servlets are located) in the tutorial isn’t even close to where Eclipse/Tomcat puts them by default.

    So, if possible, could you provide a quick tutorial on debugging into a simple Eclipse-created jsp servlet, preferably usingTomcat?

    I’m thinking this is more of a setup issue than a bug.

    Ben Ethridge
    508-308-1913(cell)

    *** Date: Tue Jan 03 16:19:58 EST 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_05

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Graphical Editing Framework

    Version: 3.1
    Build id: 200507071758

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\downloads\eclipse\wtp-all-in-one-0.7-win32\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    d94_68
    -vm
    C:\WINDOWS\system32\javaw.exe

    #243945

    Riyad Kalla
    Member

    The essential question is: How does one debug into the servlet created from the JSP?

    Ben, we don’t support debugging of the generated servlets out of the box, some users have had success by adding the generated folders to their project as source folders, but the result of debugging those files is, as I mentioned, unsupported.

    The reason for this is that the generation location and style of the JSPs is different for all of the app servers we support, so what we do provide is universal debugging of the JSP page itself by way fo the JSR 45 spec. Let’s you step through your page and such.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JSP debug trouble

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