Eclipse - debug step is not synchronise with source code.

Hi,

I have an web application witch run on tomcat, when Idebug the application, the debug steps are not synchronize with the source code. Same thing when I change the code , after making the jar file and putting it in the WEB-INF/lib of the web application, the modifications didn't take place. It seem that the old code always remains. I looked at the compile class in the jar file and the modifications have been taken in to account.

what can cause this kind of behavior ? I relaunch tomcat many times without succes ?

any help ? thanks a lot.

[572 byte] By [baradjiibrahimaa] at [2007-10-3 9:32:57]
# 1

Can it be the case that you compile your JAR optimized, i.e. without debug information? Then your classes are also without debug information.

This sounds very likely as a refresh problem. Be sure that both source files in Eclipse and class files in Tomcat have the same version (e.g. with simple system.out).

MartinHilperta at 2007-7-15 4:48:03 > top of Java-index,Archived Forums,Debugging Tools and Techniques...