BTW, it's sometimes easier to debug if you forget the servlet
container and just debug through a Junit test case. Just fire up
an individual test case in debug mode and step wherever you want.

Of course sometimes that's inadequate, but it's worth having in
you bag of tricks.

Best
Erick

On Thu, Mar 17, 2011 at 5:08 PM, Geeta Subramanian
<gsubraman...@commvault.com> wrote:
> Hi All,
>
> Thanks for the help... I am now able to debug my solr. :-)
>
> -----Original Message-----
> From: pkeegan01...@gmail.com [mailto:pkeegan01...@gmail.com] On Behalf Of 
> Peter Keegan
> Sent: 17 March, 2011 3:33 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Info about Debugging SOLR in Eclipse
>
> The instructions refer to the 'Run configuration' menu. Did you try 'Debug 
> configurations'?
>
>
> On Thu, Mar 17, 2011 at 3:27 PM, Peter Keegan <peterlkee...@gmail.com>wrote:
>
>> Can you use jetty?
>>
>>
>> http://www.lucidimagination.com/developers/articles/setting-up-apache-
>> solr-in-eclipse
>>
>> On Thu, Mar 17, 2011 at 12:17 PM, Geeta Subramanian <
>> gsubraman...@commvault.com> wrote:
>>
>>> Hi,
>>>
>>> Can some please let me know the steps on how can I debug the solr
>>> code in my eclipse?
>>>
>>> I tried to compile the source, use the jars and place in tomcat where
>>> I am running solr. And do remote debugging, but it did not stop at
>>> any break point.
>>> I also tried to write a sample standalone java class to push the document.
>>> But I stopped at solr j classes and not solr server classes.
>>>
>>>
>>> Please let me know if I am making any mistake.
>>>
>>> Regards,
>>> Geeta
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ******************Legal Disclaimer***************************
>>> "This communication may contain confidential and privileged material
>>> for the sole use of the intended recipient.  Any unauthorized review,
>>> use or distribution by others is strictly prohibited.  If you have
>>> received the message in error, please advise the sender by reply
>>> email and delete the message. Thank you."
>>> ****************************************************************
>>>
>>
>>
>
>
>
>
>
>
>
>
>
>
>
> ******************Legal Disclaimer***************************
> "This communication may contain confidential and privileged material
> for the sole use of the intended recipient.  Any unauthorized review,
> use or distribution by others is strictly prohibited.  If you have
> received the message in error, please advise the sender by reply
> email and delete the message. Thank you."
> ****************************************************************
>

Reply via email to