debugger-libs icon indicating copy to clipboard operation
debugger-libs copied to clipboard

LINQ expression support.

Open miniwolf opened this issue 7 years ago • 5 comments

I am trying to write an extension in VS Code that debugs Unity projects. For this I am using StackFrame.GetExpressionValue(string expression, EvaluationOptions options). The result that I getting back is that the expression is not supported.

The expression is based on an array that I create: int[] scores = { 97, 92, 81, 60 }; Expression I run in the Debugger console is this: scores.Select(i => i)

Is there something that I am supposed to do differently?

miniwolf avatar Apr 17 '18 10:04 miniwolf

Are you building debugger-libs yourself for your extension? And using master version of debugger-libs?

DavidKarlas avatar Apr 17 '18 16:04 DavidKarlas

Yes and yes. I have also tried using the ones that arrives with Visual Studio for Mac.

miniwolf avatar Apr 17 '18 16:04 miniwolf

So any ideas about this?

miniwolf avatar Apr 18 '18 08:04 miniwolf

@DavidKarlas wasn't this already implemented?

jstedfast avatar Apr 15 '20 20:04 jstedfast

I think some scenarios are not handled yet.

DavidKarlas avatar Apr 16 '20 03:04 DavidKarlas