Late At Work last night, we were trying to figure out why something was failing. A validation check was failing when it shouldn\'t have been.
We ended up adding a pr
Check out this thread.
If statement weirdness in Visual Studio 2008
It comes down to this, you can't trust the debugger all the time.
To "fix" that if statement, add an empty else {} statement to it. The debugger will work as expected.