Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VS 2013 can not evaluate expression
Message
From
06/08/2014 14:45:56
 
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01605242
Message ID:
01605248
Views:
33
I'm guessing here. Could be because it's an object and the locals window doesn't have a data type and the Intermediate Window is doing a .ToString() on it.

>Hi everybody,
>
>I am trying to debug a code from repository:
>
>
>public override Operator GetById(object id)
>        {
>            var result = base.GetById(id);
>            if (result == null)
>                return result;
>            HashOpCode(result);
>            return result;
>        }
>
>Unfortunately, in the locals window I see 'Could not evaluate expression' and same when I try to access properties of result in the immediate window.
>
>Is there a way to see the actual properties values? Why would I get this error? Could it be due to the var declaration?
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform