Topic: [求助]Eclipse + Tomcat 问题,能运行,不能调试

  Print this page

1.[求助]Eclipse + Tomcat 问题,能运行,不能调试 Copy to clipboard
Posted by: djshow
Posted on: 2005-10-19 16:21

菜鸟问题,Eclipse 3.1 + Tomcat 5.0.28
我创建了一个Web工程.使用Ant Build到一目录.目录内包含了Web所需的所有文件.

Eclipse添加了Server, tomcat 5.0@localhost 并设定WebModule路径为上面那个目录.

然后运行,一切正常.

设置断点,点击Debug On Server, 跳出以下提示
Unable to install breakpoint ... due to missing line number attributes.Modify Compiler options to generate line number attributes

点击OK后,能继续运行,一切正常.

已经将Compiler的添加line number的选项勾选,
不知道其它还有什么地方设置错误.
请各位指点.emotion

2.Re:[求助]Eclipse + Tomcat 问题,能运行,不能调试 [Re: djshow] Copy to clipboard
Posted by: weijiezhang
Posted on: 2005-11-04 15:56

1. try to restart the IDE
2. Is the breakpoint in your own code or in *.jar used by your app. If it is jar you may not be able to debug because it was not enabled for debug when compiled.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923