Eclipse takes ages to display breakpoint when running tomcat

Posted by Ryan on Stack Overflow See other posts from Stack Overflow or by Ryan
Published on 2010-03-15T18:57:52Z Indexed on 2010/03/15 18:59 UTC
Read the original article Hit count: 385

Filed under:
|
|
|

Hi,

When tomcat hits a breakpoint in Eclipse, the execution thread stops, but the breakpoint takes absolutely ages to appear in Eclipse. The same is true if I try to inspect a variable; the first time takes about 2 minutes. After that, the debug session is fine.

What with that and the CONSTANT need to keep re-publishing to tomcat every time I change something, it's driving me nuts.

Does anybody have any ideas why it's so slow?

Also, how can I stop tomcat restarting the webapp every time I try to change something during a debug session? I am sure it never used to do that...

Eclipse is 3.3.1.1 with J2EE Standard Tools and Web Standard Tools. Tomcat is 5.5

Thanks a lot for any advice!

Ryan

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about debugging