Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: EverydayDiesel on December 18, 2015, 06:03:17 am

Title: Logging Messages To The Codeblocks Debugger
Post by: EverydayDiesel on December 18, 2015, 06:03:17 am
Can anyone please tell me how to log messages to the code blocks debugger/window?

I have a wxSmith gui application that I am trying to get messages logged to the debugger but for the life of me I cannot figure out how to do this.

Thanks in advance!
Title: Re: Logging Messages To The Codeblocks Debugger
Post by: oBFusCATed on December 18, 2015, 08:31:50 am
So you want to have the same behaviour as OutputDebugString on windows with VisualStudio, right?

p.s. you've posted in the wrong subforum...
Title: Re: Logging Messages To The Codeblocks Debugger
Post by: EverydayDiesel on December 18, 2015, 03:45:42 pm
yes that is exactly what I am looking for except i am now on linux so there is no more visual studio
Title: Re: Logging Messages To The Codeblocks Debugger
Post by: oBFusCATed on December 18, 2015, 08:09:50 pm
Have you tried using printf? :)
Or you can switch your project to console one and it will show a console, where you can print stuff.
I don't think there is something equivalent to OutputDebugString on unix/gdb.