Eclipse的Debug问题解决思路
问题描述:Debug的时候,会走注释行,或者直接跳过有效行,变量部分有之前删掉的变量。
分析:没有编译成功。
步骤:找到class文件放置的路径,删掉让他重新编译,发现不能生成class文件。
观察:工程图标上有叉叉,problems中显示A cycle was detected in the build path of project
步骤:除去工程之间的循环依赖。重新编译,OK。
参考资料:http://xihongshi414.iteye.com/blog/361201
问题:工程之间能不能循环依赖?有没有什么坏处?
学到了什么:1. 看Eclipse中的problems栏。
2. debug中有个resume,表示继续执行,知道下一个断点。
posted on 2011-11-17 14:05 youngForYou 阅读(204) 评论(0) 收藏 举报
浙公网安备 33010602011771号