- This topic has 16 replies, 6 voices, and was last updated 18 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
jcorbin4607MemberA 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.
Riyad KallaMemberSo 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 stoppedWhat 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.
gandalf902002ParticipantHi,
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
gandalf902002Participant@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 TomcatGive 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 WorkbenchVersion: 5.0 GA
Build id: 20060805-5.0-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.0
Build id: M20060629-1905Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse 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
Riyad KallaMemberGandalf,
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.
gandalf902002ParticipantMy 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.
Riyad KallaMemberI 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?
jordan.parkerMemberI 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
Riyad KallaMemberJordon,
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.
jordan.parkerMemberUnfortunately, I’m limited to using JDK 1.4.2 right now.
Riyad KallaMemberI 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.
gandalf902002Participant@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
SwingCarlosParticipantI’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.
Gilles BrissonMemberWe 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.
Riyad KallaMemberqbrisson,
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?
-
AuthorPosts