facebook

cannot run or debug a simple web project

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #289732 Reply

    I am evaluating myeclipse and I have run into the following issue:
    I am following the tutorials at:

    http://www.myeclipseide.com/documentation/quickstarts/webprojects/
    and
    http://www.myeclipseide.com/documentation/quickstarts/appservers/index.html

    using a Windows Viata machine.

    I have my tomcat server setup and running and everything looks good. If I open a web browser and navigate to http://localhost:8080/myproject I can see the page. If I make a change in myeclipse and refresh the page it changes in the browser. However, in myeclipse, when I click the run or debug buttons, a screen with a title bar of run and a title of Create,manage and run configurations appears. There is a list of items on the left like Eclipse Application, Equinox OSGi Framework (whatever that is) java Applet, Java Application, Junit, etc. I cannot click on anything in that list and the only other option is a close button. A run button exists but it is grayed out. Can someone help with this?

    Thanks very much.

    #289745 Reply

    Loyal Water
    Member

    You will have to right click on your project and go to Run As > MyEclipse Server Application > <Tomcat Instance>.

    Similarly, to debug the project, you will have to right click on your project and go to Debug As > MyEclipse Server Application > <Tomcat Instance>.

    #289924 Reply

    I have the same problem, the Debug Mode doesen’t work for my Tomcat 6. I’ve tried the normal way with the Server-View and i tried the way over the context menue “Debug as”.
    Both ways ignore my Breakpoints.
    I used both Tomcats the build in and my own installed, there were no difference.

    bb, Jörg

    #289947 Reply

    Loyal Water
    Member

    Can you please make sure the launch mode for tomcat has been set to “Debug Mode” under preferences.

    The MyEclipse tomcat should stop at break points. Looks like some configuration issue. Can you please go to MyEclipse > Installation Summary > installation Details and paste the information here for me.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: cannot run or debug a simple web project

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