Why would Visual Studio 2010 say it can't show a variable during debug?
        Posted  
        
            by Edward Tanguay
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Edward Tanguay
        
        
        
        Published on 2010-05-06T21:32:26Z
        Indexed on 
            2010/05/06
            21:38 UTC
        
        
        Read the original article
        Hit count: 303
        
visual-studio-2010
|debugging
In Visual Studio 2010 sometimes when I want to get the value of a variable while debugging, it tells me that it "does not exist in this context" when it obviously does.
I have found that if I use the variable, as in the screenshot below, then it is able to show it.
Has anyone experienced this? Visual Studio 2008 never did this.
How can I get Visual Studio 2010 to always show me variable values while debugging?

© Stack Overflow or respective owner