in gdb, set a breakpoint on main
then run with --sync
when the program stops at main, set a new breakpoint on gdk_x_error
then continue, and the debugger will break when you have the error.
The --sync option means that the error will occur when the function is
called and not
a random time later.
iain
On 14 Dec 2000 22:04:41 +0800, alan wrote:
> My program have a error message..
>
> Gdk-ERROR **: BadValue (integer parameter out of range for operation)
> serial 8 error_code 2 request_code 1 minor_code 0
>
> But I still don't know where bugs is.
>
>
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list