eclipse下面有个tomcat的插件,可以设置断点跟踪
http://www.sysdeo.com/eclipse/tomcatPlugin.html