Domanda

I am looking for a quick way to identify the part inside a complicated if condition will cause the whole condition to return false.

Thanks.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top