You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by noor <no...@opentechindia.com> on 2009/06/17 15:29:47 UTC

AttachDebugger in Netbeans, for solr ???

hi,
i am new to solr.
I am having the solr package, and it starts running in my pc.
I created the custom handler class as a java project through Netbeans.
   And i put that jar in solr webapps's lib folder; and in 
solr-config.xml also i changed. before solr gets started.
What i need to do is debugging. I dont know about Netbeans 
Attach-Debugger facility.???

How do we use Netbeans attach-debugger facility, to debug my code, when 
solr runs...???

regards,
Noor

Re: AttachDebugger in Netbeans, for solr ???

Posted by Mark Miller <ma...@gmail.com>.
Indeed it does. At some point, you've got to work it out on your own 
Noor. I've given you all the info you need. Tracking down whatever is 
left should not be that difficult. I've remote debugged with Netbeans 
and Eclipse, and I know it generally works without too much fuss. You 
just have to figure out what piece you are missing.

Please refrain from re-emailing solr-user and solr-dev [and forwarding 
to me :) ] when you don't get a response to a question. I know you want 
answers, but please respect list etiquette while seeking them.

- Mark

Grant Ingersoll wrote:
> I usually debug Solr by using the remote debugging capabilities built 
> into Java.  Not sure if NetBeans supports it, but I suggest you go 
> look in the NetBeans documentation.
>
>
> On Jun 17, 2009, at 9:29 AM, noor wrote:
>
>> hi,
>> i am new to solr.
>> I am having the solr package, and it starts running in my pc.
>> I created the custom handler class as a java project through Netbeans.
>>  And i put that jar in solr webapps's lib folder; and in 
>> solr-config.xml also i changed. before solr gets started.
>> What i need to do is debugging. I dont know about Netbeans 
>> Attach-Debugger facility.???
>>
>> How do we use Netbeans attach-debugger facility, to debug my code, 
>> when solr runs...???
>>
>> regards,
>> Noor
>
> --------------------------
> Grant Ingersoll
> http://www.lucidimagination.com/
>
> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) 
> using Solr/Lucene:
> http://www.lucidimagination.com/search
>


-- 
- Mark

http://www.lucidimagination.com




Re: AttachDebugger in Netbeans, for solr ???

Posted by Grant Ingersoll <gs...@apache.org>.
I usually debug Solr by using the remote debugging capabilities built  
into Java.  Not sure if NetBeans supports it, but I suggest you go  
look in the NetBeans documentation.


On Jun 17, 2009, at 9:29 AM, noor wrote:

> hi,
> i am new to solr.
> I am having the solr package, and it starts running in my pc.
> I created the custom handler class as a java project through Netbeans.
>  And i put that jar in solr webapps's lib folder; and in solr- 
> config.xml also i changed. before solr gets started.
> What i need to do is debugging. I dont know about Netbeans Attach- 
> Debugger facility.???
>
> How do we use Netbeans attach-debugger facility, to debug my code,  
> when solr runs...???
>
> regards,
> Noor

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search