While debugging, isn’t there a way to “mouse over” a condition in an “if” statement to see if it evaluates to true or false in VS2010? I could have sworn there was, but I can’t seem to get it to work.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. Mouse-over the operator. For
if(a || b), simply mouse-over the||.You can even break down complex expressions. For
if(a || !(b is string))you can mouse-over the!(portion to see what the result of the negation is.Be sure you know your order of operations, though. For
if(a || b && c), the||will give you the final result, where the&&will give you the result of only theb && cportion.