facebook

MyEclipse IDE 5.01 Debugger Issue

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #259088 Reply

    jcorbin4607
    Member

    A good number of developers in our organization that use MyEclipseIDE 5.01 are experiencing a very annoying issue with the debugger, when trying to debug J2EE applications.

    More often than not, when a breakpoint is hit and the IDE switches to the debug view, the file where the breakpoint is set does get loaded into the debug editor but the breakpoint doesn’t get hit. Here is the strange thing. In thread trace window above, if we scroll the contents up and down quickly, it causes the display to refresh and then the breakpoint gets hit or at least, the display updates so you can see the breakpoint and continue stepping through the code.

    We had never seen this problem till upgrading (clean) to 5.0.1.

    We are using Sun’s JDK 1.5 Update 8.

    #259123 Reply

    Riyad Kalla
    Member

    So just to clarify:
    1) The breakpoint is hit in that the thread stops execution and you can step through code
    2) The real problem is the display doesn’t repaint so you don’t relaly *see* that you are stopped

    What happens if you click “step over” or some incremental debug operation, does the display suddenly update and look correct?

    Have you found a fairly easy way to reproduce this? Is this happening 1 out of 10 times, or all the time (like 1 out of 2 times debugging?). Also is it always related to hitting breakpoints or does the redrawing issue popup other times?

    lastly, if you go to the breakpoints view, do you notice duplicate sets of the single break points you have been setting? We had a bug filed for “phantom” break points that are troublesome because the phantom one won’t work, but the real one will… but you can’t tell which of the duplicates is the ‘real’ one.

    #259341 Reply

    gandalf902002
    Participant

    Hi,
    I have the same problem with Tomcat 5.5 (not problem when I using old Myeclipse with eclipse 3.1) and sometimes the debugger loose the connection with Tomcat

    #259343 Reply

    gandalf902002
    Participant

    @gandalf902002 wrote:

    Hi,
    I have the same problem with Tomcat 5.5 (not problem when I using old Myeclipse with eclipse 3.1) and sometimes the debugger loose the connection with Tomcat

    Give you more deyails :
    Eclipse show me the right source when breakpoint is placed but is not highlited and If I press F6 nothig happens.
    This happening 1 out of 3 times and all times I have to resize the debugger window and the breakpoint line appears or connection to Tomcat is loose (but Tomcat continue to live and execution flow continue).
    For now I do not found a easy procedure ro reproduce it.
    *** Date: Wed Sep 27 13:36:58 CEST 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_08

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

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

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.0
    Build id: M20060629-1905

    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
    D:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    1220_78
    -vm
    C:\WINDOWS\system32\javaw.exe

    #259362 Reply

    Riyad Kalla
    Member

    Gandalf,
    That is strange I’ve never seen a debug session loose it’s connection… are you connected locally to Tomcat or remotely? Also is there a firewall in the way or are there any anti-virus or anti-spyware utilities running on either machine that could be scrutinizing or closing the connection forcefully? Are you on a wireless connection? The connection could be dropping/reconnecting quickly.

    #259428 Reply

    gandalf902002
    Participant

    My tomcat is local and I hava antivirus … but the loose debug connection is wehn working on my debug and not at the start (Norton normally say to me if accept action of connection or revoke connection at the start) and I have to close tomcat (the main thread is visible) and restart it.

    #259451 Reply

    Riyad Kalla
    Member

    I am having a very hard time reproducing this locally, I have tried Tomcat, JBoss and Resin, I’ve tried being in different perspectives before switching to debug perspective, I’ve tried using a lot of breakpoints and just a few, etc…can you think of any steps I missed that may help me reproduce this problem more readily?

    Given the extremely invasive nature of virus checkers, have you tried disabling norton completely and then launching MyEclipse and debugging?

    #259562 Reply

    I see this issue as well with MyEclipse 5.01, JBoss 4.0.3SP1, and JDK 1.4.2_12.

    The debug perspective seems to freeze occasionally until the scroll bar on the stacktrace window is moved up and down, then the debugger will proceed to the next breakpoint.

    I have another anti-virus package installed, but didn’t see this issue with previous versions of MyEclipse (4.x).

    Jordan

    #259563 Reply

    Riyad Kalla
    Member

    Jordon,
    If you install JDK 1.5.0_08 (during the install, uncheck the JRE intsall if you just want the JDK installed), and then launch MyEclipse with it using the -vm argument (you can confirm this from the Help > About > Configuration Details screen, about 2 pages down), does the problem go away?

    The reason I ask is that I’ve helped 3 people that had really strange graphical/rendering issues with Eclipse/MyEclipse and after upgrading their JDKs, the problem were fixed… which is strange given the nature of SWT as opposed to something lightweight like Swing.

    #259581 Reply

    Unfortunately, I’m limited to using JDK 1.4.2 right now.

    #259587 Reply

    Riyad Kalla
    Member

    I understand, I was only asking for trouble-shooting purposes, not suggesting your change. If this is something you could do temporarily that would be great, if not I understand and will continue to look for a solution on my end.

    #259811 Reply

    gandalf902002
    Participant

    @support-rkalla wrote:

    I understand, I was only asking for trouble-shooting purposes, not suggesting your change. If this is something you could do temporarily that would be great, if not I understand and will continue to look for a solution on my end.

    I have 1.5.0_08 …. Is it the same to remove only JRE from Windows Installation … if yes I can check this workaround

    #260107 Reply

    SwingCarlos
    Participant

    I’m getting this problem as well. 20060810-5.0.1-GA, jdk1.4, JBoss 4.01 SP1.

    Fresh install of 5.0.1, removed all breakpoints, clean, restart MyEclipse, and i’m still
    ‘hitting’ a breakpoint but complaining about not being able to find the source code.

    #260112 Reply

    We are experiencing a similar problem as well. Using JBoss 4.0.4GA, SDK 1.4.2_11 and MyEclipse 5.0.1GA. Everything was installed from a clean state on at least ten different development workstations. Same behavior on all. Did not have that issue with MyEclipse 4 with the exact same setup, except for Eclipse and MyEclipse. The lack of refresh is VERY frequent, more than 40% of the time. We have also lost connection with JBoss on occasion; maybe 1 out of 20 debug sessions. This is quite annoying and causes lost of productivity for the team. We also make sure we reset all breakpoints before the debug session.

    #260121 Reply

    Riyad Kalla
    Member

    qbrisson,
    Do you consistently get the source not found issue with all code, or only JSPs? Does it happen every time with every project, or just sometimes with some projects?

    Also what did you mean by “lack of refresh is VERY frequent”?

    And with regard to the lost debugging sessions, do you have any anti-virus or anti-spyware software running on your machines that are dropping debugging sessions? Are these debugging sessions very long, or short?

Viewing 15 posts - 1 through 15 (of 17 total)
Reply To: MyEclipse IDE 5.01 Debugger Issue

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