User forums > Help

Debug a file without project

(1/2) > >>

mar.ste:
First hello everybody and thank you to the Code::Blocks development community for the excellent work!

Just a little question:

I'm not an heavy user of the IDE but once in a while I need to debug a C file. All the program is contained in one file and if I open I can compile and run it. But not debug. In order to debug I had to set-up a project.

The question is: is possible to compile and debug without setting up a project?

oBFusCATed:
Compile: yes,
Debug: no

mar.ste:

Good since I was thinking I missed something. Bad since always setting up projects (file changes) is really uncomfortable.

There is a particular reason for not allowing it by design? Can it be added?

Thank you!

BlueHazzard:

--- Quote from: mar.ste on August 02, 2014, 05:40:36 pm --- Bad since always setting up projects (file changes) is really uncomfortable

--- End quote ---
You can use targets, if you wan't create projects...


--- Quote from: mar.ste on August 02, 2014, 05:40:36 pm ---There is a particular reason for not allowing it by design?

--- End quote ---
it is simply not needed from the developers, so it isn't implemented


--- Quote from: mar.ste on August 02, 2014, 05:40:36 pm ---Can it be added?

--- End quote ---
patches are welcome

greetings

oBFusCATed:
http://forums.codeblocks.org/index.php/topic,19501.0.html and many other topics about it...

Navigation

[0] Message Index

[#] Next page

Go to full version