I am having alot of trouble with breakpoints in MyEclipse.
I set a breakpoint on a line of code (right clicking on margin and clicking ‘Toggle Breakpoint’) and then I run Tomcat and do the necessary steps to run that code and trigger the breakpoint.
I’ll see the Program’s icon on the taskbar start to blink, indicating that my breakpoint has been hit, and it is automatically loading debug mode. I restore focus to the IDE and notice the IDE has correctly loaded the right class file and scrolled it to the right position where the breakpoint is.
Then it just stalls here… The line never gets highlighted… and the resume button never gets active. It just sits here indefinitely. I once left it in this state for 25 minutes with no change.
The only way I have figured out to get the thing to quit stalling is by clicking the ‘Remove all Terminated Launches’ button on top, and then re-trigger the breakpoint. The second time it usually does hit the breakpoint correctly and I can step through the code like normal. But sometimes this never actually fixes itself and all I can do really is restart the whole app.
Any idea what’s causing this? This java files are small – lightweight. Nothing big.