Evaluation of lambda expressions is not valid in the debugger

A lambda expression has been entered in the Watch or Immediate window during a debugging session. Lambda expressions are not available in debugging windows.

Error ID: BC36627

To correct this error

  • Test lambda expressions in the Code Editor.

See Also

Tasks

Closer Look: What If... Testing Code in the Immediate Window

Concepts

Lambda Expressions

Debugging Your Visual Basic Application