A little birdie has been singing, lately, about how Visual Studio 2015 now supports lambda expressions in the debugger. Here is one such article:
http://gigi.nullneuron.net/gigilabs/vs2015-preview-debugger-support-for-lambdas-and-linq/
I am sure there are more. But my attempts to evaluate an expression using the debugger, which are mostly done in the command-line window, have failed. All I get is: "The debugger is unable to evaluate this expression."
I seem to remember reading something about certain limitations on this. All I am doing is trying topass in compare a string property on the incoming element of a collection and return bool if it matches a static string in the lambda expression. It seems like this is the most basic and trivial of lambda expressions.
Looking for any comments that will enlighten on why my simple expressions cannot be evaluated in the command-line window.
Thanks for reading.
**EDIT**: I think I have discovered my problem. I may be using the command-line window against its intended use. Being able to use the question mark to evaluate, at least, some expressions have given the illusion that it is just as capable as the "immediate" window for evaluating expressions. I have further research to do. But it looks like this new functionality is restricted to the immediate window.
The immediate window gives me the same message: ""The debugger is unable to evaluate this expression". Looking forward to insights on this one.