lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Farris <>
Subject Re: How to Debug Sol-Code in Eclipse ?!
Date Sun, 22 Aug 2010 17:08:00 GMT
On Sun, Aug 22, 2010 at 8:22 AM, stockii <> 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:
(The instructions are for weblogic, but everything in the section
titled "The Eclipse Connection" is generally relevant.)


View raw message