Vishnu Babu
Vishnu Babu

Reputation: 1275

Unable to see values in debug mode when mouse placed over local variables VS 2015

I am unable to see the values of local variables in debug mode when mouse pointer placed over them or by adding add watch option in visual studio 2015. I am also getting the error

Internal error in the expression evaluator

I have tried the following to fix the error

Upvotes: 0

Views: 1980

Answers (2)

Vishnu Babu
Vishnu Babu

Reputation: 1275

Running the visual studio in Administrator mode seems to solve the issue also I need to put a tick mark on

Set Debug - > Options -> Use the legacy c# and vb expression evaluators

as well.

Upvotes: 1

Phil Blackburn
Phil Blackburn

Reputation: 1067

This can occur when the Optimize code option is checked in Project Properties>Build

Upvotes: 1

Related Questions