Visual Studio的即时窗口 - LAMBDA前pressions不准 - 有没有解决的工作,或替代一个? [英] Visual Studio Immediate Window - Lambda Expressions Aren't Allowed - Is there a Work-around or Alternative?

查看:225
本文介绍了Visual Studio的即时窗口 - LAMBDA前pressions不准 - 有没有解决的工作,或替代一个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我调试一些棘手的通用列表code在VS 2010中 - 大量的层次处理等。当然拉姆达EX pressions和匿名方法不是立即数窗口和我在允许范围内不能做与加强通的code在通常的方式,我还在努力让我的头周围的层次......

I'm debugging some tricky generic List-based code in VS 2010 - lots of hierarchy-processing etc.. Of course lambda expressions and anonymous methods aren't permitted within the immediates window and I can't be doing with stepping thru the code in the usual way as I'm still trying to get my head around the hierarchies ...

任何人都可以提出一个解决办法或替代工具?

Can anyone suggest a workaround or an alternative tool?

推荐答案

在几次都是这样,我总是把最优秀的 LINQPad

At times like this I always turn to the most excellent LINQPad.

链接的网站(在写作的时间)的头版立即跳​​转与材料有关SQL,但不要让这种不起眼多么强大和灵活的这个工具确实是。我有点像对待类固醇的立即窗口。我觉得它非常宝贵的,通过复杂的LINQ查询工作我的方式。

The front page of the linked site (at time of writing) immediately jumps in with stuff about SQL but don't let that obscure how powerful and flexible this tool really is. I sort of treat it like an Immediate Window on steroids. I find it invaluable for working my way through complex LINQ queries.

如果你生活中可以没有智能感知它是免费的(智能感知版本是收费的)。

If you can live without intellisense it's free (the intellisense version is chargeable).

这篇关于Visual Studio的即时窗口 - LAMBDA前pressions不准 - 有没有解决的工作,或替代一个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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