Re: GLib-GObject-CRITICAL **: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
- From: Glus Xof <gtglus gmail com>
- To: Kjell Ahlstedt <kjell ahlstedt bredband net>
- 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:25:44 +0100
Just half an hour, I reconnected and I'm trying to reproduce what Mr
Yann recommends.
I don't have experience in debugging but I'm motivate to learn...
Just I download and installed Nemiver, and now trying to understand
the environment.
With F8, I'm been able to mark a breakpoint... but I need more help to
see beyond...
I just see that there is an option to call a function... but how to
mark a breakpoint to g_return_if_fail_warning ...?
Glus
2011/3/26 Kjell Ahlstedt <kjell ahlstedt bredband net>:
> 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
>
>
> _______________________________________________
> 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]