News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Logging Messages To The Codeblocks Debugger

Started by EverydayDiesel, December 18, 2015, 06:03:17 AM

Previous topic - Next topic

EverydayDiesel

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!

oBFusCATed

So you want to have the same behaviour as OutputDebugString on windows with VisualStudio, right?

p.s. you've posted in the wrong subforum...
(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!]

EverydayDiesel

yes that is exactly what I am looking for except i am now on linux so there is no more visual studio

oBFusCATed

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.
(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!]