Alexandre:

Yep, this is a problem all right ;).

The two things I usually do are

1> Start with test cases. They're usually named reasonably well and give a place
to at least start.

-or-

2> Semi-randomly set breakpoints in likely-looking code and attach remotely.

IntelliJ (and Eclipse I'm sure) let you essentially grep the code. In this case
I grepped echoParams and found that there are a bunch of references
to echoParams in SolrCore.postDecorateResponse. So that's where I'd start.

It's certainly something of a challenge when you're totally unfamiliar with the
relevant code. And then the next one you tackle means you start the process
all over again ;).

Best,
Erick

On Sun, Nov 23, 2014 at 7:14 PM, Alexandre Rafalovitch
<[email protected]> wrote:
> So, I think I found a bug in Solr 5 build:
>
> curl "http://localhost:8983/solr/schemaless/select?indent=true&echoParams=all";
> - returns echoParams twice.
>
> So, how do I debug it? Enable remote debugging on Jetty and trace it
> through the 1024 levels of indirections? Grab a specific test case
> (which one?) and modify it for my purposes? Something else?
>
> I am a bit overwhelmed with the step 2 (I got SVN/Idea/build/run test
> bit figured out). Any help would be appreciated. Wiki does not seem to
> have specific pointers.
>
> Regards,
>    Alex.
> Personal: http://www.outerthoughts.com/ and @arafalov
> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to