User forums > Help
Can't use debug menu.
Painkiller:
Hello everyone, I'm using C::B 10.05 on windows 7 32bit. My Code::Blocks can't not use debug menu. When I select debug menu, I can't not click or use hot keys like F8....If someone knows this problem, please tell me the way to solve this. Thanks. ( PS: My English isn't good. Sorry if someone can't understand. :-?? )
Jenna:
I guess you try to debug a single file.
Debugging is only supported if you use projects at the moment.
hqt:
Oh, I still face with this error :( I'm using Borland C++, and nearly change to Code::Block. So, you can tell me detail about " cannot debug a single file. Debugging is only supported if you use projects at the moment." please.
I create a project, example name HelloWorld. And in folder HelloWorld, I see 2 file Helloworld.cpp and main.cpp. I don't know with file I should use to code, and I choose main.cpp. But after I compile it (no error), I still cannot debug (debug menu cannot active).
Help me please, thanks :)
oBFusCATed:
You can debug code compiled only with gcc (mingw) and visual studio.
For gcc you need to install gdb
For visual studio you need cdb (comes with "Debugging Tools for Windows")
Probably you can use cdb to debug code compiled with Borland C++, but I've not tried it, nor will I ever try it. You're on your own.
hqt:
Yes, I compile code in Code::Block and use GCC complier. But I still cannot debug. (the menu [Debug] is gray, cannot active)
Navigation
[0] Message Index
[#] Next page
Go to full version