News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Missing Code::Blocks debug log

Started by Pecan, January 10, 2008, 04:41:41 AM

Previous topic - Next topic

Pecan

Didn't there used to be a "Code::Blocks debug log" sitting beside the "Code::Blocks Log"?

I can no longer find the place to turn it on.

Any help?

WinXP SVN 4767



Jenna

Since some revision (afaik it comes up near the new Logmanager) you have to explicitely start C::B with the "-d" parameter to start the debug-log.
That's no problem if you start it directly (or via Icon), only when started with double-clicking on a file the debug-log does not open.
I don't know if there is a checkbox somewhere in the settings to open the log always (I did not find), or at least a parameter in "default.conf".
If not it should not be so difficult to create a patch for this.

mandrav

Quote from: Pecan
Didn't there used to be a "Code::Blocks debug log" sitting beside the "Code::Blocks Log"?

I can no longer find the place to turn it on.

Quote from: jens
Since some revision (afaik it comes up near the new Logmanager) you have to explicitely start C::B with the "-d" parameter to start the debug-log.
That's no problem if you start it directly (or via Icon), only when started with double-clicking on a file the debug-log does not open.
I don't know if there is a checkbox somewhere in the settings to open the log always (I did not find), or at least a parameter in "default.conf".
If not it should not be so difficult to create a patch for this.

Actually, you should use the loghacker plugin. You can change any of the loggers' output target to file, text control, etc.
This reminds me to add this plugin to autotools builds :).
Be patient!
This bug will be fixed soon...

Jenna

Quote from: mandrav on January 10, 2008, 09:32:53 AM
This reminds me to add this plugin to autotools builds :).

If you do so, can you please also apply patch #2296 to add your "make_dist.script" to autotools and fix two problems with it as described in the patch comment ?

mandrav

Quote from: jens on January 10, 2008, 10:59:22 AM
Quote from: mandrav on January 10, 2008, 09:32:53 AM
This reminds me to add this plugin to autotools builds :).

If you do so, can you please also apply patch #2296 to add your "make_dist.script" to autotools and fix two problems with it as described in the patch comment ?

That was done few minutes ago :).
Be patient!
This bug will be fixed soon...

thomas

Quote from: mandrav on January 10, 2008, 09:32:53 AMActually, you should use the loghacker plugin. You can change any of the loggers' output target to file, text control, etc.
This reminds me to add this plugin to autotools builds :).
Actually you should not use the LogHacker plugin, and actually it should not be added to the autotools build.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

MortenMacFly

Quote from: thomas on January 10, 2008, 12:23:04 PM
Actually you should not use the LogHacker plugin, and actually it should not be added to the autotools build.
...cause IMHO it's not even working (remember our discussion, Thomas?!).
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]

thomas

Of course it's not working, I told you. It's not finished, it's not working, and it's certainly not for use. :)
And if it is put into the autotools build, it will probably break the build.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."