![](https://secure.gravatar.com/avatar/214fe9a0ecb4aed8994e8618ade6f5a8.jpg?s=120&d=mm&r=g)
You might have noticed the DebugDialog, which is found from the View/Messages... menuitem. It is a trivial text window, whose only current purpose is to catch g_log(), g_message(), g_warning(), etc messages, and print them in the GUI, instead of writing to the terminal.
While Linux users might not consider this exciting, this will hopefully be a benefit to Win32 users. On Windows, that extra DOS console window popping up can be a terrible annoyance.
So it is turned on by default on Win32, and can be turned on for other platforms by setting
dialogs.debug redirect="1"
Of course, if we control our log messages, this dialog will not see any usage at all. Hopefully, though, this can serve an alternate purpose as a text output for script engines.
One thing I have noticed, is that Gtkmm and Glibmm might not be using glib to print their messages. This could be a problem. The same applies to other libs like Boehm-gc. I hope that we do not need to redirect stdout/stderr to catch this information also. If someone knows how to catch Glibmm messages, please let me know.
Bob
participants (1)
-
Bob Jamison