Code :: blocks provide a debugging function. We can observe the values โโof the variables and do it step by step.
- Create a project
- Add a breakpoint by right-clicking on the line number where you want and select "Breakpoint".
- Press the "Debug" button and format the "Debug windows" window, select the clock window.
In the clock window you can see the values โโof the variable and for step-by-step execution after using the switch key breakpoint + F7.
My answer may not be clear to you or for more information, you can follow this wiki page on the code http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
source share