News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Unable to debug

Started by Damnated, February 24, 2010, 07:41:53 PM

Previous topic - Next topic

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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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.