Debugging in Code::blocks

后端 未结 2 2060
迷失自我
迷失自我 2021-01-25 10:29

How to do debuging in codeblocks? I\'ve set few brakepoints and pressed debug/start but program doesn\'t stop on any of those brakepoints. What do I have to do in order for it t

2条回答
  •  一生所求
    2021-01-25 10:59

    In codeblocks for your program to debug , it should be in an active project .

    So:

    1. create a new project and
    2. add your program to the project
    3. Then you will see the red play symbol enabled to debug your program.

提交回复
热议问题