User forums > General (but related to Code::Blocks)

debugging in CB 8.02

(1/1)

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:
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?

--- End quote ---

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?

--- End quote ---

It's a fact.

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

--- End quote ---

Unless you attach the debugger to a running process...

Navigation

[0] Message Index

Go to full version