Author Topic: Logging Messages To The Codeblocks Debugger  (Read 3390 times)

Offline EverydayDiesel

  • Multiple posting newcomer
  • *
  • Posts: 11
Logging Messages To The Codeblocks Debugger
« 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!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Logging Messages To The Codeblocks Debugger
« Reply #1 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...
(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!]

Offline EverydayDiesel

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Logging Messages To The Codeblocks Debugger
« Reply #2 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Logging Messages To The Codeblocks Debugger
« Reply #3 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.
(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!]