Try the dis-assembly view. In Visual Studio: Debug -> Windows -> Disassembly. Run step by step, and try to understand what the processor does.
Also, if you 'if' statement doesn't have function call, you can evaluate (in the expression evaluation window) each part of your 'if' statement