facebook

Not able Debgug

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

    shyam
    Participant

    H i
    I am using Myeclipse trial version with tomcat 4.1 i an not able .java files niether .jsp file. I am able to set the break points when i run the porject those brekpoints never hit. All those brekpoints S.O.P are printed on console, but execution control never debug the file or stops at the breakpoint.

    Could you please tell me how to get rid of this problem.

    Thanks and Regards
    Shyam

    Thanks and Regards
    Shyam

    #269700

    Loyal Water
    Member

    Tomcat 4 doesn’t support JSR-45, which is the debugging specification. You will have to upgrade to Tomcat 5.

    Also make sure you are doing the following:
    1) Running MyEclipse and Tomcat with atleast a JDK 1.4 or later.
    2) Make sure your MyEclipse Tomcat connector is setup to launch Tomcat in debug mode, not Run mode.

    #269784

    shyam
    Participant

    Hi,

    I am now using Tomcat 5 and JDK is j2sdk1.4.2_12 and running the server in debug mode too
    still i am not able debug the .jsp file.

    I am able set the breakpoints but the execution control never stops there. Early reply will be appreciated.

    Thanks and Regards
    Shyam

    #269826

    Loyal Water
    Member

    Can you debug a plain Java class file? Can you send me the entire startup log for Tomcat from the console? Also can you send me your configuration info for the Tomcat 5 connector. Can you pm me a screenshot.

    Thanks

    #269886

    shyam
    Participant

    Hi

    Thanks a lot for your response.
    I am able to debug the .java file . When i downloaded “TestJSPDebugging” (which was posted earlier on this forum) sample and installed , deployed it worked fine. Another thing i noticed that when I deployed my Project it was not creating the .war file under the folder
    “C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps” where as TestJSPDebuggin is creating the .war file.

    Bu the my application runs fine. Is that is the problem ??

    Thanks and Regards
    Shyam.

    #269887

    shyam
    Participant

    i was trying attach the screen shot but i dont know where to attach . Could you please guide me

    Thanks
    Shyam

    #269910

    Loyal Water
    Member

    Can you expand all the nodes and send me a screenshot of your project structure (A screen shot of your package explorer with all the nodes expanded). To attach a screenshot you need to click on Post Reply. You will have an option to upload the screenshot there.

    Also, what is your Web Root directory set to under Project > Properties > MyEclipse > Web , because even though Web Root *needs* to point to the project web root, sometimesthe project might have a “WebRoot” dir , but you might be working inside some other dir, like /www and that can cause this problem.

    #270197

    shyam
    Participant

    Hi

    Since last so many days I have keep on trying to upload the doc and send you the details but i am not able to see the upload button after the click of Post Reply.

    kindly guide me to upload the doc so that you can get the clear picture.

    Thanks and Regards
    Shyam.

    #270224

    Loyal Water
    Member

    When you click post reply, there is an Add Attachment section. You wlll have to browse to your document and add it there. Click submit after you add the document.

    Attachments:
    You must be logged in to view attached files.
Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Not able Debgug

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