News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Why a single source file cannot be debugged?

Started by xparmenides, December 16, 2012, 09:15:05 AM

Previous topic - Next topic

xparmenides

Hi,

   Codeblocks can compile a single source file (does not be contained in a project), and run the produced executable file. But, Codeblocks can not debug it. That is the debugger can not be started through pressing F8. If in a project, the debugger works well. So, I think this really strange. Is there any way to start the debugger for a single source file?

Jenna


xparmenides

I think it may be supported in future. Is it a very hard work? I have no idea about it, but I really need it.

MortenMacFly

Quote from: xparmenides on December 16, 2012, 01:28:54 PM
I think it may be supported in future. Is it a very hard work? I have no idea about it, but I really need it.
There are very good reasons not to do it. Search the forums.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]