Skip to content

LINQ Support in Visual Studio 2015 Debugger Awesome

Updated: at 02:04 PM

I’ve been wanting to do this for a very long time.  I’m in the debugger of Visual Studio 2015 and I have some data structure that is a collection of objects.  To find what I want, I’ve had to either write ugly conditional debugging statements or put in some temporary c# if statements to stop on what I wanted and examine it.

Now, I can just write the LINQ code in the watch window of Visual Studio and see exactly what I want.  Check out the screen shot below and notice that I just typed in: meetupResults.results.Select(a=>a.urlname).ToList() and I got exactly what I wanted.

Very nice!

image