Author Topic: Missing Code::Blocks debug log  (Read 12633 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2877
Missing Code::Blocks debug log
« on: January 10, 2008, 04:41:41 am »
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



Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Missing Code::Blocks debug log
« Reply #1 on: January 10, 2008, 07:48:06 am »
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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Missing Code::Blocks debug log
« Reply #2 on: January 10, 2008, 09:32:53 am »
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...

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Missing Code::Blocks debug log
« Reply #3 on: January 10, 2008, 10:59:22 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 ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Missing Code::Blocks debug log
« Reply #4 on: January 10, 2008, 11:30:18 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...

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Missing Code::Blocks debug log
« Reply #5 on: January 10, 2008, 12:23:04 pm »
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 :).
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."

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Missing Code::Blocks debug log
« Reply #6 on: January 10, 2008, 02:27:12 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Missing Code::Blocks debug log
« Reply #7 on: January 10, 2008, 03:15:18 pm »
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."