I am attempting to debug code through Visual Studio.
Code in the GIF is engine code, however identical things happen in my custom code.
GIF captures my debug session when I firstly placed a breakpoint. Then after program executions breaks in breakpoint I am stepping through code with F10 button. Normal debugger behaviour in such cases as far as I know is stepping throug consecutive (!) lines of code. For example if arrow is in 16line the next line would be 17 and so forth. In gif You can see that this is violated because arrow jumps from line 136 to 138 omitting (!) line 137. This is tipical behaviour when code was compiled with optimizations and debugged binaries doesn’t match fully with source code. However when game is compiled in debug (!) configurations all optimizations should be turned off so code will be fully (!) debuggable.