facebook

Debugging Question

💡
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. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #227109 Reply

    dhirshjr
    Member

    Hi,

    I am new to MyEclipse and jsp. I was trying to get debugging to work.
    And it does except two things.

    1. Break points have a red square instead of a checkmark like I see in the tutorials.

    2. When I try the example showing that you are able to change a string that is about to be printed (HelloWorld example), it never changes for me.

    I am running eclipse 3.1M4 and MyEclipse 3.8.4 with Tomcat 5.5.7

    Thanks in advance,
    Douglas

    #227121

    Riyad Kalla
    Member

    Douglas, are you using MyEclipse 3.8.4 BETA for 3.1, or are you using the 3.8.4 stable release for Eclipse 3.0?

    Also, make sure you are using our editor with your JSP files (right click > Open With > MyEclipse JSP Editor).

    AND, is the red square in the right margin? Thta means an error, if you mouse over it, what does it say? Try and correct that error.

    #227123

    dhirshjr
    Member

    Hi Riyad,

    is the red square in the right margin?

    The square is in the left margin.

    are you using MyEclipse 3.8.4 BETA for 3.1

    I believe it is MyEclipse 3.8.4 BETA for 3.1

    Also, make sure you are using our editor with your JSP files (right click > Open With > MyEclipse JSP Editor).

    I will have to check on this one. I am not at my home computer right now.

    By the way thanks for the quick response.

    Thanks,
    Douglas

    #227128

    Riyad Kalla
    Member

    There shouldn’t actually be any squares in the left margin… just red circles with X’s in them… so I wonder if you might be using a different editor.

    #227133

    dhirshjr
    Member

    Ok I set up a clean install for the environment.
    I now see the right symbol for the breakpoint. (Checkmark)
    That was the first problem. I still have not been able to get the second problem fixed.

    2. When I try the example showing that you are able to change a string that is about to be printed (HelloWorld example), it never changes for me.

    #227134

    Riyad Kalla
    Member

    Which example is this? Is the string being changed in a Servlet?

    #227135

    dhirshjr
    Member

    Under tutorials and visual tours it is the first one. “Web Development”

    #227137

    dhirshjr
    Member

    Riyad,

    Thanks for all your help on this. I was trying to change the string in an out.println() in a JSP.
    This time I used a java bean and it worked.

    Again thanks for your help,
    Douglas

    #227138

    Riyad Kalla
    Member

    The key to that working is Hot syncing being enabled, you can enabled that via:
    1) You must use an exploded deployment, you cannot use a packaged deployment.
    2) You MUST run your app server in debug mode (double check your connector settings, make sure debug is clicked under “Launch” settings).
    3) Your app server must be configured to reload changed files. In Tomcat this is via the “reloadable=true” attribute for your web context.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Debugging Question

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