On Sun, Aug 22, 2010 at 8:22 AM, stockii <st...@shopgate.com> wrote: > > thx for you reply. > > i dont want to test my own classes in unittest. i try to understand how solr > works , because i write a little text about solr and lucene. so i want go > through the code, step by step and find out on which places is solr using > lucene. > > when i can debug the code its easyer ;-)
How about using remote debugging? I assume you have the solr/lucene code set up in a project in eclipse. Start solr with: java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 -jar start.jar And then follow the instructions to attach to the debugger described here: http://www.eclipsezone.com/eclipse/forums/t53459.html (The instructions are for weblogic, but everything in the section titled "The Eclipse Connection" is generally relevant.) Drew