GNOME Bugzilla – Bug 763913
GDK W32: Not all relevant debug info is printed for events
Last modified: 2016-03-25 22:10:42 UTC
Specifically, of interest are event timestamps and wParam/lParam values for messages (especially for unknown messages).
Created attachment 324333 [details] [review] GDK W32: Print more debug info about events 1) Print timestamps for events 2) Print wParam and lParam (in hex form) for messages
Review of attachment 324333 [details] [review]: Fine for me
I'll wait for fanc to test it. Specifically, the %lx format specifier. I'm not sure what's the status of "l" support in MSVC.
Hi LRN, As far as I could tell, the format specifier is correct. With blessings, thank you!
Created attachment 324769 [details] [review] GDK W32: Print error code along with the error message An extra debug enhancement that alters _gdk_win32_api_failed() (used internally by a number of error-checking macros) to print the error code along with he error message. I thought about filing it separately, but this bug's description fits, so why not attach it here? This addresses concerns raised in bug 763907 about the message/code dichotomy.
Review of attachment 324769 [details] [review]: Fine for me.
Attachment 324333 [details] pushed as c4c0029 - GDK W32: Print more debug info about events Attachment 324769 [details] pushed as 692c3b1 - GDK W32: Print error code along with the error message