facebook

Source not found with change attached source button

💡
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. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #288706 Reply

    cuongvt
    Member

    I have jdk 1.5_0_15 with myeclipse 6.5.1 installed.
    When I debug simple jsp file (it only have
    content: <%=new java.util.Date() %>
    The first line:
    index.jsp line: 25
    showed me the variables,
    but the remaining lines as below show me:
    “Source not found for index_jsp(HttpJspBase).service(HttpServletRequest, HttpServletResponse) line: 70”
    or
    “Source not found.” with change attached source button.
    Any idea?

    Below are the remaining lines:
    index_jsp(HttpJspBase).service(HttpServletRequest, HttpServletResponse) line: 70
    index_jsp(HttpServlet).service(ServletRequest, ServletResponse) line: 803
    JspServletWrapper.service(HttpServletRequest, HttpServletResponse, boolean) line: 393
    JspServlet.serviceJspFile(HttpServletRequest, HttpServletResponse, String, Throwable, boolean) line: 320
    JspServlet.service(HttpServletRequest, HttpServletResponse) line: 266

    Thanks and regards

    #288714

    Loyal Water
    Member

    What server are you debugging against? Are you running the server through MyEclipse?

    #288726

    cuongvt
    Member

    >What server are you debugging against?
    I ran with “MyEclipse Tomcat”.

    >Are you running the server through MyEclipse?
    Sure. I’m running the server through MyEclipse
    by click o the arrow beside the debug icon then chose “Open debug dialog”,
    Then in “Server” combo box I chose “MyEclipse Tomcat” .
    Finally I hit “debug” buttion from there.

    If you need further information, please let me know.
    I think sometime step in through sourcecode for remote debugging is a must-have.

    thanks and regard,

    #288742

    Loyal Water
    Member

    cuongvt ,
    Right click on you project and go to Debug As > MyEclipse Application Server > MyEclipse Tomcat Server and click ok. Does it work fine this way ?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Source not found with change attached source button

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