Wireshark mailing list archives
Re: g_print & co on Windows
From: Bill Meier <wmeier () newsguy com>
Date: Tue, 13 Sep 2016 11:07:05 -0400
On 9/13/2016 9:31 AM, Pascal Quantin wrote:
Hi Dario, 2016-09-13 15:26 GMT+02:00 Dario Lombardo <dario.lombardo.ml () gmail com <mailto:dario.lombardo.ml () gmail com>>: Hi I'm debugging sshdump on windows and I found an unexpected behavior with glib logging functions. g_error: seems to work. A popup appears and program stops g_warning: nothing, with or without G_MESSAGES_DEBUG=all g_debug: same as above g_print: nothing printed I recall something about those functions not working on windows, but I can't find a pointer in the ML archives. Is is a known bug on glib? Or something missing on my side? You can find some analysis done by Bill a few years ago explaining why it is a mess: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6695#c2 Cheers, Pascal.
I seem to remember that when starting Wireshark on Windows from the command line that I had to redirect stdout and stderr to files to see the output.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- g_print & co on Windows Dario Lombardo (Sep 13)
- Re: g_print & co on Windows Pascal Quantin (Sep 13)
- Re: g_print & co on Windows Bill Meier (Sep 13)
- Re: g_print & co on Windows Dario Lombardo (Sep 15)
- Re: g_print & co on Windows Bill Meier (Sep 13)
- Re: g_print & co on Windows Pascal Quantin (Sep 13)