Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: R1S8K on July 20, 2022, 10:39:23 pm
-
Hi,
I have a code that uses for loop iterations, so when I debug the code, the debugger runs the debugging mode into the code for only one iteration. So I can't follow how the program works exactly.
For example in my code, it should loop for 1000 times. But the debugger runs only one time.
-
The loop may be optimized out or unrolled, have you disabled optimizations when compiling?