为什么是"的拉姆达前pressions评价不是在调试&QUOT有效;? [英] Why is "Evaluation of lambda expressions is not valid in the debugger"?

查看:157
本文介绍了为什么是"的拉姆达前pressions评价不是在调试&QUOT有效;?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个看似无辜的code段,我键入到Visual Studio 2008中的即时窗口的。

I have a seemingly innocent code snippet, which I typed into Visual Studio 2008 Immediate Window.

? results.Join(lstDocs, Function(docID) docID)
Evaluation of lambda expressions is not valid in the debugger.

由于有消息称,这是无法调用的lambda EX pression在调试器。
为什么不允许?

As the message says, it's not possible to call a lambda expression in the debugger.
Why is it not allowed?

推荐答案

下面:的为什么LINQ的调试器窗口不存在?

这previous问题:<一href="http://stackoverflow.com/questions/725499/vs-debugging-quick-watch-tool-and-lambda-ex$p$pssions">VS调试快速查看工具和lambda EX pressions

And this previous question: VS debugging "quick watch" tool and lambda expressions

总之,复杂性。

这篇关于为什么是&QUOT;的拉姆达前pressions评价不是在调试&QUOT有效;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆