Author Topic: How do I use the debugger?  (Read 3760 times)

Thoerin

  • Guest
How do I use the debugger?
« 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.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: How do I use the debugger?
« Reply #1 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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: How do I use the debugger?
« Reply #2 on: February 07, 2008, 08:22:12 am »
I would guess the OP didn't create/open a project...
Be patient!
This bug will be fixed soon...

Thoerin

  • Guest
Re: How do I use the debugger?
« Reply #3 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