views:

23

answers:

2

I guess question says it all. I know one cannot use lambdas in immediate window, but sometimes I need to either filter a collection or display property of the items in the collection for each entry. Is there a way to do that?

A: 

I don't know if this will help you, but have you looked at creating your own debugger visualizer? The only custom debugger visualizer I've used is the one from Scott Gu for evaluating LINQ to SQL expressions, but I haven't written on myself so I don't know the limitations.

Chris O
A: 

No, you cannot. You would have to create a method that does your filtering, recompile, then use your method from the debugger.

Omer Raviv