Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: sipickles on November 25, 2007, 01:28:40 pm
-
Hi,
Well, the title says it all -
Is there a way to see debug messages in the IDE, like OutputDebugString does in MS?
Thanks
Si
-
No idea what special stuff MS does (and honestly I don't care), but whatever you send to stdout via printf or puts or related functions appears in the build/run log, if that is what you want.
If you want to remove that output in "release" build, you can define a macro akin to assert which uses printf or whatever.
-
From what I've been able to find on the internet, there's no equivalent function for OutputDebugString in Linux.
I guess you'll have to find another way, maybe using printf.
Regards, XayC