Code::Blocks Forums

User forums => Help => Topic started by: Thoerin on February 07, 2008, 12:00:06 am

Title: How do I use the debugger?
Post by: Thoerin on February 07, 2008, 12:00:06 am
I am running the Feb. 6 build on Ubuntu 7.10, using gcc and gdb.

All the debugger options under Debug (most importantly Start) are grayed out.

How do I enable them?

Thanks in advance.
Title: Re: How do I use the debugger?
Post by: thomas on February 07, 2008, 03:01:10 am
If they're greyed out, you either don't have a debugger at all (did you download/install one?), or you haven't properly configured it.

Look in your compiler options under the executable section (where you set the compiler and linker, too), and make sure the debugger is configured there.
Title: Re: How do I use the debugger?
Post by: mandrav on February 07, 2008, 08:22:12 am
I would guess the OP didn't create/open a project...
Title: Re: How do I use the debugger?
Post by: Thoerin on February 08, 2008, 02:03:20 am
Thank you mandrav

I didn't know it was not possible just to debug a cpp file.
Putting it in a new project enabled the debugger options  :D