Author Topic: Getting stderr output in the debug window.  (Read 2349 times)

Offline immortalsoFar

  • Single posting newcomer
  • *
  • Posts: 3
Getting stderr output in the debug window.
« on: December 04, 2016, 08:43:20 am »
I'm pretty certain we used to be able to printf/sprintf to stderr and the output be shown somewhere but now that's no longer the case.

Running Codeblocks from a console doesn't do the trick.

I can redirect stderr with freopen but seeing the errors (eg GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed) as they happen is somewhat important. Setting Settings/Debugger/Full (debug) log does show the stderr output in the debug window but it also shows every damned watched variable, stack frame etc as well every single time a breakpoint is hit which makes it, to all intents and purposes, useless.

How can I get the stderr output without the corresponding junk in the debugging window?

Thanks.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Getting stderr output in the debug window.
« Reply #1 on: December 04, 2016, 12:33:48 pm »
Is your project a console based one?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]