User forums > Help

Code::Blocks debugging problem

<< < (2/2)

oBFusCATed:
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.

petroo:
That's the way i did it. I've created an entire project in Code::blocks just the way you've described it.

petroo:
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.

BlueHazzard:
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

petroo:
I was so blind . Thanks a lot for the help you've provided , you are the best.

Navigation

[0] Message Index

[*] Previous page

Go to full version