Author Topic: debugging in CB 8.02  (Read 3951 times)

slave of the mind

  • Guest
debugging in CB 8.02
« on: November 15, 2009, 09:25:57 am »
Hi all.

I installed CodeBlocks on my comp for writing some C code files (no projects no C++).
I tried to debug but all my debug operations are disabled, how do i enable them?
I saw it uses the compiler installed in c:\program files\codeblocks\minGW and tried to switched to the one I had installed with Dev-cpp but than i couldnt compile anymore.

my CB version is 8.02
the compiler is "GNU GCC Compiler"
and from what i understood i also have the MS compiler and Borland C++ compiler.

thanks for any help

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: debugging in CB 8.02
« Reply #1 on: November 15, 2009, 10:48:48 am »
You cannot debug single files.

You have to use a project for this purpose.
« Last Edit: November 15, 2009, 11:11:27 am by jens »

slave of the mind

  • Guest
Re: debugging in CB 8.02
« Reply #2 on: November 15, 2009, 05:42:46 pm »
this is an official state?

because i know in other C compilers\debuggers they let you debug single files

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: debugging in CB 8.02
« Reply #3 on: November 15, 2009, 05:53:43 pm »
this is an official state?

It's a fact.

You can not use a debugger without a project in Code::Blocks.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: debugging in CB 8.02
« Reply #4 on: November 17, 2009, 10:18:24 am »
this is an official state?

It's a fact.

You can not use a debugger without a project in Code::Blocks.

Unless you attach the debugger to a running process...
Be patient!
This bug will be fixed soon...