Hiya,
first the formal stuff 😉
Eclipse 2.13 (Build id: 200403101828) on Windows XP SP1.
P4 with hyperthreading
Startup args: -Xms384M -Xmx512M
MyEclipse Version: 2.7.101 (Build id: 200405181900-2.8-Beta1)
JDK 1.4.2.04 (everywhere)
Plugins: hyperModel; JFaceDB; AspectJ
Tomcat 5.025.
No Struts 🙁
Tested on a fresh installation (no Sysdeo plugin etc.).
Hope that’s enough at the moment? Now the problem:
A static method is called from a “controller” servlet. This method resides resides in a different class.
I put a breakpoint in this method and generally Eclipse accepts it. Also I put a System.out.println(“value: ” + String.valueOf(assumeThisTheName)); line into it for debugging issues.
Now it comes: Starting Tomcat through the IDE (debug mode) goes fine. The breakpoint is even accepted: The line is highlighted and Eclipse stops at the breakpoint line.
But stepping over (F6 key or UI) doesn’t work at all – curly braces are ignored as well as sometimes the cursers jumps back as when going through a loop.
Also instead of the printout mentioned above nothing is printed out.
Eclipse log does not show anything.
Strange is also, that debugging the servlet itself does not end in this behaviour.
Thought of a synchronisation problem so I rebuilt, redeployed etc. – no change. Also changed all deployment options.
Any idea what this means? Thanks in advance for your help!!!
Greetings,
Karsten