I inserted two temp variables and want to see their values, but I can\'t. I could solve it by placing it somewhere else, but I\'m interested why this behaviour exists.
I've encountered another scenario in VS2012 that causes variables to "disappear" while in debug mode:
make sure you don't have this:
if(false) { . } else { //Code here will be optimized and variables will not be available. }