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.
btw runnig code under windows 10 pro insider preview , below screenshot of page of visual stuio using.
any suggestions be?
i had same problem days ago rtm version of vs2015. able solve performing following steps:
- rename corresponding cshtml file
- create new file same name previous cshtml file.
- 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
Post a Comment