在Visual Studio中调试期间求值表达式 [英] Evaluate expressions during debugging in Visual Studio
问题描述
我已经习惯了Jetbrains IDEA和Java,但是现在我有一个使用.NET/C#并使用Visual Studio 2017(社区)的项目.
I am used to Jetbrains IDEA and Java, but now I have a project in .NET/C# and using Visual Studio 2017 (Community).
如果我在IDEA中调试代码,则可以始终使用IDE的评估表达式"功能在断点处停止执行时运行代码: GIF ).
If I debug code in IDEA, I can always run code when the execution is stopped at a breakpoint using the 'Evaluate Expression' function of the IDE: https://www.jetbrains.com/help/idea/evaluating-expressions.html (Although it is for PyCharm, the Java one works the same: GIF).
Visual Studio中有类似的东西吗?
Is there anything similar in Visual Studio?
推荐答案
我遇到了完全相同的问题.
I have the exact same issue.
研究后,我发现最接近的是Immediate Window
,它在键入时为您提供一些智能.
After researching I found the closest thing is Immediate Window
which give you some intelligence while typing.
这篇关于在Visual Studio中调试期间求值表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!