4

I remember there was shortcut key F8 in Turbo C that showed step by step execution of the code, and it also let you to see the values of the variables.

Is something similar available for Codeblocks?

1 Answer 1

7

Code::blocks provide the debugging feature. We can watch the values of variables and execute step by step.

  1. Create the project
  2. Add the break point by right click the mouse at the line number where you want and choose Toggle Break point.
  3. Click on Debug menu and form debugging windows option select watches window.

In watches window you can see the values of variable and for step by step execution after break point use shift+F7 key.

My answer may not be clear for you or for further information you can follow this codeblocks wiki page http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.