facebook

Unable to debug servlet and jsps

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #199002 Reply

    waseem
    Member

    Hi iam able to deploy and run servlet and jsps(HelloWorldServlet and HelloWorld.jsp as per the tutorial) properly.But when iam trying to debug them iam getting problems.

    1. When iam setting breakpoints on suggested lines and calling the servlet from the browser i could not see anything in the Variables window. Its totally blank .It seems that the servlet suspends and hangs there.

    2. When iam clicking a line for setting a breakpoints .Iam getting a icon other then the normal spherical icon .

    3. In debug perspective iam unable to get the options as shown in the tutorials.eg toggle ,step over etc.I could only see Variables and Details window which are totally blank.

    Can you please tell me where I had made mistake.

    Thanks.
    -Waseem

    #199009 Reply

    support-michael
    Keymaster

    Waseem,

    Can you provide us your basic environment info:

    OS?
    MyEclipse version?
    Eclipse version?
    Other plugins installed?
    Appserver and version?
    Deployment method (packaged, exploded, custom Ant, …)

    2. When iam clicking a line for setting a breakpoints .Iam getting a icon other then the normal spherical icon .

    Please describe the debug image you are seeing.

    Michael
    MyEclipse Support

    #199031 Reply

    waseem
    Member

    Hi thanks for prompt reply. Here is my environment info.

    OS :- Windows 2000

    MyEclipse version :- EnterpriseWorkbenchInstaller_020602

    Eclipse version :- 2.1.1

    Other plugins installed :- Earlier i installed Sysdeo Tomcat Launcher bur later removed it.

    Appserver and version :- Tomcat 5.0.12

    Deployment method :- As shown in MyEclipse tutorial for deploying HelloWorldServlet.java and helloWorld.jsp

    Iam getting a spherical icon with a small projection at the bottom left.

    Thanks .

    -Waseem

    #199045 Reply

    Scott Anderson
    Participant

    Waseem,

    The problem your experiencing has been seen before when running old versions of JDK 1.3.1 to launch Tomcat. Please try launching it with JDK 1.4.2 and see if this resolves the issue.

    –Scott
    MyEclipse Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Unable to debug servlet and jsps

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