How can I debug the innards of the Join() extension method?
I am NOT asking how to debug/see things in between chained method calls. NOT tring to look between the dots in this example: myThings.Where().Join();
Instead, I want to see the intermediate values or the internal inner/outer sequences that the Join() method uses to work its mojo. I have: myThings.Join( a bunch of lambdas ); My keySelectors seem be to returning the correct data. But my resultSelector is never getting called so I want to see the sequences themselves and debug.
I feel like someone will recommend resharper (I don’t have $150 to shell out, so please only offer free alternatives).
Please answer the question: “How can I debug the innards of Join()?”
To get a conceptual look at how
Joinis implemented have a look at Jon Skeet’s re-implementation as part of EduLinq: “Reimplementing LINQ to Objects: Part 19 – Join”. I would start here because it will probably give you much more insight into what is going on than just starring at the generated code.If you still want to decompile the generated code using a free tool there is e.g. JustDecompile available for free.