Hi, ALL,
I am using MSVC 2010 on Windows 8.1.

I have a function which during the run has a lot of loops and conditional statements. And I need to set a breakpoint in one of the loops based on the value of a variable which is declared inside the function.

So I set the breakpoint on the line I want and then I did a right click on the red circle (breakpoint) and selected "Condition...". Then inside the dialog shown I enter myVar == "testValue". The checkbox "Condition" is checked and the "is true" is selected.
Then I hit "OK" and started the program.

The breakpoint was not hit.

What did I do wrong?

Thank you.