mono / debugger-libs

Debugger libraries
MIT License
80 stars 75 forks source link

LINQ expression support. #183

Open miniwolf opened 6 years ago

miniwolf commented 6 years ago

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?

DavidKarlas commented 6 years ago

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

miniwolf commented 6 years ago

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

miniwolf commented 6 years ago

So any ideas about this?

jstedfast commented 4 years ago

@DavidKarlas wasn't this already implemented?

DavidKarlas commented 4 years ago

I think some scenarios are not handled yet.