Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Damnated on February 24, 2010, 07:41:53 pm
-
I'm using the latest build under Karmic, with the GCC compiler. Everything is configured, and works just fine.
Until i tried to debug a file. At first it didn't work, I read the wiki and made sure that -g (debugging symbols) compiler option was on, and the -s (strip symbols) option was off. But nothing changed. The IDE recognises gdb as debugger, yet the whole Debug menu is greyed out. I tried rebuilding the source, restarting the IDE, no change what so ever.
Any ideas?
-
Have you installed gdb?
What does it mean latest build 8.02 or latest nightly?
-
Latest build = 8.02.
And as I said, gdb is installed and code blocks shows it under the toolchain executables/debugger.
-
Do you use aproject ?
Debugging single files, that are not part of a project is not supported.
-
I see. This solves everything, thanks a bunch.