News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Any equivalent debug output TRACE in codeblocks and MinGW

Started by ollydbg, February 06, 2009, 12:46:10 PM

Previous topic - Next topic

ollydbg

Hi, If I design a GUI project in C::B and Mingw, For example, a wxWidgets project. How can I output the debug information.

I have the experience in MFC in windows, there TRACE() / OutputDebugString() can output the debug information in the output window of visual studio IDE.

So, What's the equivalent way in C::B? Once I know that printf can be redirect to GDB's output window, is it the only way?

Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.