User forums > General (but related to Code::Blocks)
Unable to debug
(1/1)
Damnated:
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?
oBFusCATed:
Have you installed gdb?
What does it mean latest build 8.02 or latest nightly?
Damnated:
Latest build = 8.02.
And as I said, gdb is installed and code blocks shows it under the toolchain executables/debugger.
Jenna:
Do you use aproject ?
Debugging single files, that are not part of a project is not supported.
Damnated:
I see. This solves everything, thanks a bunch.
Navigation
[0] Message Index
Go to full version