When debugging, the debugger often jumps over entire blocks of code for no apparent reasons, so placing break points becomes an exercise in frustration.
That seems to be particularly true when using Wait For.
It seems that it may be code that is optimized out but not always (in what I am working on right now, it's hard to imagine why the specific section of code would be skipped over since it checks the result of reading a file, which could have changed after the previous run).
Successive debugging of the same code seems to not always jump over the same code, particularly when using incremental compilation (Ctrl-S)
Is there a way to force code execution of all lines of source code (by possibly reducing optimizations), or otherwise identify code that will be skipped over?
That seems to be particularly true when using Wait For.
It seems that it may be code that is optimized out but not always (in what I am working on right now, it's hard to imagine why the specific section of code would be skipped over since it checks the result of reading a file, which could have changed after the previous run).
Successive debugging of the same code seems to not always jump over the same code, particularly when using incremental compilation (Ctrl-S)
Is there a way to force code execution of all lines of source code (by possibly reducing optimizations), or otherwise identify code that will be skipped over?