9

Possible Duplicate:
VS debugging “quick watch” tool and lambda expressions

I'm curious if there is a reason that this is not allowed in the Visual Studio immediate window while debugging?

Community
  • 1
  • 1
Abe Miessler
  • 82,532
  • 99
  • 305
  • 486
  • I would not surprised if this changes in one of the next versions of VS. http://blogs.msdn.com/b/ericlippert/archive/2011/10/19/the-roslyn-preview-is-now-available.aspx – CodesInChaos Oct 25 '11 at 19:31
  • See also http://stackoverflow.com/questions/4409072/visual-studio-immediate-window-lambda-expressions-arent-allowed-is-there-a – immutabl Mar 17 '15 at 11:31
  • 2
    Appearantly this is supported in VS2015: http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/12/support-for-debugging-lambda-expressions-with-visual-studio-2015.aspx – Rob Oct 08 '15 at 06:56

1 Answers1

8

Jaredpar explained it

Why is LINQ absent from debugger windows?

Why is LINQ absent from debugger windows (Part 2)?

Khh
  • 2,521
  • 1
  • 25
  • 42
  • Links are broken. Answers should be more than just links to external sites to avoid situations like that. – Kacper Dec 07 '21 at 14:25