[gtkada] error messages from the C side
Emmanuel Briot
briot at adacore.com
Mon Oct 10 09:37:40 CEST 2005
> I get this kind of error messages :
>
> (main:31919): Gtk-CRITICAL **: file gtkwidget.c: line 6871
> (gtk_widget_get_clipboard): assertion `gtk_widget_has_screen (widget)'
> failed
>
> (main:31919): Gtk-CRITICAL **: file gtkclipboard.c: line 575
> (gtk_clipboard_get_owner): assertion `clipboard != NULL' failed
>
> How can I find where is the problem in my Ada code ?
Start your application under the debugger.
type the "start" command, so that all dynamic libraries are loaded.
Break on "g_log", which is the C function that outpus the C error messages.
Whenever the message occurs, the debugger will stop and you can examine
the backtrace as usual
Emmanuel
More information about the gtkada
mailing list