Re: GLib-GObject-CRITICAL **: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: Yann LEYDIER <yann leydier info>
- Cc: gtkmm-list gnome org
- Subject: Re: GLib-GObject-CRITICAL **: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
- Date: Sat, 26 Mar 2011 11:04:17 +0100
Hi Glus,
The message is printed by a function called g_return_if_fail_warning. If
your debugger can set a breakpoint at the entry to that function, and
then print a backtrace, I think that would be a good start of your
debugging session.
Kjell
lör 2011-03-26 klockan 09:06 +0100 skrev Yann LEYDIER:
> On 26/03/11 08:45, Glus Xof wrote:
> > What do you think about it ?
>
> I think that it comes from a widget contained in you dialog.
> Try debugging your application (breakpoint on the dialog.run(), then
> step by step) to locate the function that throws the "exception").
>
> If you don't have a debugger, you can use Visual Studio Express on
> Windows or Nemiver on Linux (and don't forget to compile your app with
> "g++ -g").
>
> And please be patient when you don't get an answer, we are all volunteers.
>
> yann
>
> > 2011/3/25 Glus Xof<gtglus gmail com>:
> >> Hi,
> >>
> >> My app, suddenly, at execution time, throws me messages like this,
> >>
> >> (***** : ****) GLib-GObject-CRITICAL **: g_value_get_boolean:
> >> assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
> >>
> >> It seems that from a code line who says,
> >>
> >> gint d_result = m_dialog.run();
> >>
> >> Obviously,
> >>
> >> Gtk::Dialog m_dialog...
> >>
> >> What's wrong ???
> >>
> >> Glus
> >>
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]