Commit c34b79ce authored by Mike Hearn's avatar Mike Hearn Committed by Alexandre Julliard

Output X11 protocol errors before breaking into debugger.

parent f66807f2
......@@ -185,7 +185,12 @@ static int error_handler( Display *display, XErrorEvent *error_evt )
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment