Author Topic: Unable to debug  (Read 3569 times)

Offline Damnated

  • Single posting newcomer
  • *
  • Posts: 3
Unable to debug
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Unable to debug
« Reply #1 on: February 24, 2010, 07:49:11 pm »
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!]

Offline Damnated

  • Single posting newcomer
  • *
  • Posts: 3
Re: Unable to debug
« Reply #2 on: February 24, 2010, 07:59:04 pm »
Latest build = 8.02.

And as I said, gdb is installed and code blocks shows it under the toolchain executables/debugger.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Unable to debug
« Reply #3 on: February 24, 2010, 09:27:00 pm »
Do you use aproject ?

Debugging single files, that are not part of a project is not supported.

Offline Damnated

  • Single posting newcomer
  • *
  • Posts: 3
Re: Unable to debug
« Reply #4 on: February 24, 2010, 09:52:57 pm »
I see. This solves everything, thanks a bunch.