facebook

JSP Debugger wont start

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #256656 Reply

    modha
    Member

    Hi

    I have Eclipse 3.2 with MyEclipse 5.0.
    In the sample hello world jsp page, I do not see line numbers and double clicking on the left column (or toggle breakpoint) is not setting breakpoint.
    Help is not telling much.
    I have started App Server in debug mode.

    Can someone please tell me how to do this.

    Thanks
    modha/-

    #256669 Reply

    Riyad Kalla
    Member

    Modha,
    When you right click on your JSP page and go to “Open With”, what item has the black dot next to it, to indicate that it’s the default editor? It should be the MyEclipse Visual JSP Designer.

    #256726 Reply

    modha
    Member

    I have the DOT next to MyEclipse Visual JSP Designer. I am following the tutorial J2EE Application Development -> Getting Started -> Working with Web Projects.
    In the tutorial itself the screen shots show line number sometimes and sometimes there no numbers.

    I am using tomcat5.
    Preferences -> Tomcat5 -> Launch is in debug mode.

    Any idea where I could have gone wrong.
    Debugging tutorial is not helping me.

    Thanks
    Modha/-

    #256728 Reply

    Riyad Kalla
    Member

    In the tutorial itself the screen shots show line number sometimes and sometimes there no numbers.

    This is just an editor preference.

    Try and check your log file for exceptions, under (<workspace dir>\.metadata\.log) and paste any interesting exceptions near the end of it here that pertain to the break points.

    Also paste the result of MyEclipse > About MyEclipse > INstallation Summary here for me.

    #256731 Reply

    modha
    Member

    I did not find any exceptions in (<workspace dir>\.metadata\.log)
    Installation Summary:
    ===============
    *** Date: Mon Aug 14 11:21:09 PDT 2006

    *** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.5.0_08

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 GA
    Build id: 20060805-5.0-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0.1 GA
    Build id: 20060810-5.0.1-GA

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    72c_50
    -product
    com.genuitec.myeclipse.product.ide
    -vm
    C:\jdk1.5.0_08\bin\javaw.exe

    #256732 Reply

    modha
    Member

    Also I tried in debug perspective.
    Enable Breakpoints and Breakpoint properties are disabled.

    #256733 Reply

    Riyad Kalla
    Member

    Are you using a web project or a normal Java project? If you right click on the project and go down to MyEclipse, do you see “Add Web Project Capabilities” or do you see “Add Struts Capabilities”?

    #256747 Reply

    modha
    Member

    I see Add Struts Capabilities

    #256750 Reply

    modha
    Member

    after adding line numbers I can set a breakpoint.
    Strange….

    #256760 Reply

    Riyad Kalla
    Member

    That is very odd, I suppose it depends where you were clicknig, but toggle breakpoint should have worked. Either way I’m glad it’s working now.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: JSP Debugger wont start

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