facebook

Cannot debug HelloWorld JSP in Tomcat 5.0.28 [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #219183 Reply

    CTG Group
    Member

    I upgraded to Eclipse 3.0.1 and MyEclipse 3.8.2 and installed the myeclipse patch.

    Eclipse:
    Version: 3.0.1
    Build id: 200409161125

    MyEclipse:
    3.8.2+QF20041020

    I rebuilt and redeployed the HelloWorld web project in Tomcat 5. When I try to set the breakpoint on the line

    out.println(“Hello World”);

    I get an error msg at the bottom left:

    Breakpoint cannot be set at the given location

    #219186 Reply

    Riyad Kalla
    Member

    Can you check your log file for exceptions?

    <workspace dir>\.metadata\.log

    #219207 Reply

    CTG Group
    Member

    There is no exception in the .log file

    I also cannot get MyEclipse code completion to work i.e.

    <%out.

    if I now enter ctrl->space keys, I get a “No completions available” msg

    #219211 Reply

    Riyad Kalla
    Member

    Are you sure you are using our editor? If you right click on your JSP file > Open With > MyEclipse JSP Editor?

    #219218 Reply

    CTG Group
    Member

    It seems like that was the problem all along. My jsp files were configured to be opened with the Java editor. I changed the association to the MyEclipse JSP editor and now I can also set the breakpoint correctly on the JSP.

    #219219 Reply

    Riyad Kalla
    Member

    Glad its working.

Viewing 6 posts - 16 through 21 (of 21 total)
Reply To: Cannot debug HelloWorld JSP in Tomcat 5.0.28 [Closed]

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