How to fix Visual Studio Could not evaluate Expression

October 11, 2016 at 1:16 PMMadestro

Sometimes you will come across a situation where you debug in Visual Studio and you are unable to look at the variables. You simply get a message that reads:

"Could not evaluate Expression"

Long story short, one of the reasons this happens is corrupt breakpoints.

Pull up your Breakpoint window and erase every single breakpoint you have. Compile and set your breakpoints again.

Problem solved. :-)

Posted in: ASP.NET MVC | General Development | Visual Studio

Tags: