在C#中的互动越来越调试环境 [英] Getting debugger context in C# interactive

查看:158
本文介绍了在C#中的互动越来越调试环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C#互动似乎很多比即时窗口(至少它处理的是经常在LINQ使用Lambda表达式更强大 - 请参见 VS调试" ;快速监视和QUOT;工具和lambda表达式),但它看起来像它不能被用来作为替代品,因为它不知道的情况下调试。有没有一种方法能够访问调试器方面?

C# Interactive seems a lot more powerful than the Immediate Window (at least it handles lambda expressions that are often used in LINQ - see VS debugging "quick watch" tool and lambda expressions), but it looks like it can't be used as a replacement as it doesn't know about the debugger context. Is there a way to have access to the debugger context?

我见过获取在F#互动调试环境,它可能需要同样的事情,但也许有新的可用/不同的事情

I've seen Getting debugger context in F# interactive and it might require the same things, but maybe there are new/different things available.

http://extendedimmediatewin.codeplex.com/ 可能是有用的,但看起来挺死的,虽然有人在2011年10月18日说,他打算它移植到VB.Net( http://extendedimmediatewin.codeplex.com/discussions/75589 )。

http://extendedimmediatewin.codeplex.com/ could be useful but looks quite dead, although someone said on Oct 18 2011 that he was planning to port it to VB.Net ( http://extendedimmediatewin.codeplex.com/discussions/75589 ).

推荐答案

免责声明:我为微软工作的罗斯林小组

Disclaimer: I work for Microsoft on the Roslyn team.

不幸的是,我们没有办法获得调试器方面现在。我们都知道,它会非常有用,并且我们得到更多的核心交付的罗斯林的完成,我们希望更多的调查,看看有什么可以做的。

Unfortunately, we don't have a way to get the debugger context right now. We are aware that it would useful, and as we get more of the core deliverables for Roslyn completed we hope to investigate more and see what can be done.

这篇关于在C#中的互动越来越调试环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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