News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

debugging in CB 8.02

Started by slave of the mind, November 15, 2009, 09:25:57 AM

Previous topic - Next topic

slave of the mind

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

Jenna

#1
You cannot debug single files.

You have to use a project for this purpose.

slave of the mind

this is an official state?

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

Jenna

Quote from: slave of the mind on November 15, 2009, 05:42:46 PM
this is an official state?

It's a fact.

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

mandrav

Quote from: jens on November 15, 2009, 05:53:43 PM
Quote from: slave of the mind on November 15, 2009, 05:42:46 PM
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...