سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top