visual-studiodebuggingintellij-ideaide

Evaluate expressions during debugging in Visual Studio


I am used to Jetbrains IDEA and Java, but now I have a project in .NET/C# and using Visual Studio 2017 (Community).

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).

Is there anything similar in Visual Studio?


Solution

  • I have the exact same issue.

    After researching I found the closest thing is Immediate Window which give you some intelligence while typing.

    screenshot