开发者

Tracing Code in Java Lucene

I'm beginner and I used Lucene to calculate precision in my program, but results arenot corr开发者_开发问答ect. I want to know if there is any way for tracing the code to know what exactly happen?


There are 2 ways in which you can do this. If you are using lucene stand alone, you could download the source for it and put it in Eclipse and run the project from eclipse and that way step through and debug it.

or

Download Lucene source and put it in an Eclipse project. Start tomcat in remote debug mode and attach eclipse to the running instance. That way you should be able to set break-points where ever you want. This is called JPDA.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜