debugging - Unable to see variable's value in Razor under debug mode in Visual Studio 2015 -


i having problem seeing variable's value inside .cshtml page in visual studio 2015 rc under debug mode. think may bug.

hovering on variable gives me tooltip describing variable's type , namespace belongs. way can see variable's value adding watch list.

enter image description here

btw runnig code under windows 10 pro insider preview , below screenshot of page of visual stuio using.

enter image description here

any suggestions be?

i had same problem days ago rtm version of vs2015. able solve performing following steps:

  1. rename corresponding cshtml file
  2. create new file same name previous cshtml file.
  3. copy on contents previous file.

however, today ihad same issue , did more digging. tracked down code block in cshtml file @ defined string constants:

const string value = "abc"; 

when remove const keyword, works fine:

string value = "abc"; 

this not real solution hope helps others face same problem


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -