Code::Blocks Forums
User forums => Help => Topic started by: petroo on January 08, 2016, 08:01:54 pm
-
Hello fellow codeblocks users . I've got a problem i'm facing for several weeks and after trying multiple times to reinstall the IDE still can't overcome . Everytime when i create a project in codeblocks the debugging feature is available (clickable) (which is fine). The problem occurs when i close the IDE/project. The next time i load the project codeblocks doesn't let me debug the program once again.
-
What do you mean by doesn't let me debug the program?
The menu is greyed out, there are errors?
What kind of project you've created?
-
The menu is greyed out and i've made a console application.
-
Do you have a project opened?
The menu is greyed out when there is no project opened.
Can you show me a screenshot?
-
Yes the project is opened when i close the IDE. Here is a screenshot.And please forgive me for my very awful response rate.
http://imgur.com/tyb7THq
-
What do you understand as a project?
main.c is not a project in C::B's terms.
You create a project by going to File -> New -> Project.
If you don't have a project file opened you won't be able to debug.
-
That's the way i did it. I've created an entire project in Code::blocks just the way you've described it.
-
Another aspect is that the debug pannel "remains colored"(by which i understand it works) for like 2-3 seconds after I open any project , then it turns off.
-
In your screenshot you have not opened the project, only the c file. The debugger can't work if you don't use a project...
[Edit:]If you reopen codeblocks you have to load the *.cbp file not the .c file
If you have done it correctly you will see the project on the left site under "worspace". From there you can open your c file
greetings
-
I was so blind . Thanks a lot for the help you've provided , you are the best.