Output X11 protocol errors before breaking into debugger
Mike Hearn
mh at codeweavers.com
Fri Jul 9 11:38:55 CDT 2004
ChangeLog:
Output X11 protocol errors before breaking into debugger
Index: dlls/x11drv/x11drv_main.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/x11drv_main.c,v
retrieving revision 1.91
diff -u -p -r1.91 x11drv_main.c
--- dlls/x11drv/x11drv_main.c 14 Jun 2004 16:58:38 -0000 1.91
+++ dlls/x11drv/x11drv_main.c 9 Jul 2004 16:34:56 -0000
@@ -185,7 +185,10 @@ static int error_handler( Display *displ
error_evt->error_code, error_evt->request_code );
return 0;
}
- if (synchronous) DebugBreak(); /* force an entry in the debugger */
+ if (synchronous) {
+ ERR("X protocol error: serial=%ld, request_code=%d - breaking into debugger\n", error_evt->serial, error_evt->request_code);
+ DebugBreak(); /* force an entry in the debugger */
+ }
old_error_handler( display, error_evt );
return 0;
}
More information about the wine-patches
mailing list