Re: GLib-GObject-CRITICAL **: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed



But after,

(gdb) run
Starting program: /home/..../src/....
[Thread debugging using libthread_db enabled]

Breakpoint 1, IA__g_log (log_domain=0xb73bbb69 "GLib-GObject",
    log_level=G_LOG_LEVEL_CRITICAL,
    format=0xb7336855 "%s: assertion `%s' failed")
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmessages.c:561
561	/build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmessages.c:
El fitxer o directori no existeix.
	in /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmessages.c
Current language:  auto
The current source language is "auto; currently c".
(gdb)



2011/3/26 Glus Xof <gtglus gmail com>:
> 2011/3/26 Murray Cumming <murrayc murrayc com>:
>> On Sat, 2011-03-26 at 11:53 +0100, Glus Xof wrote:
>>> I make this,
>>>
>>> ===
>>> (gdb) break g_return_if_fail_warning()
>>> Function "g_return_if_fail_warning()" not defined.
>>> Make breakpoint pending on future shared library load? (y or [n]) y
>>>
>>> Breakpoint 1 (g_return_if_fail_warning()) pending.
>>> (gdb) run
>>> ===
>>>
>>> Execution did not stop...
>>
>> I generally use "break g_log".
>
> After $ gdb src/program_name
>
> I get,
>
> (gdb) break g_log()
> Function "g_log()" not defined.
> Make breakpoint pending on future shared library load? (y or [n]) n
> (gdb) break g_log
> Function "g_log" not defined.
> Make breakpoint pending on future shared library load? (y or [n]) n
> (gdb)
>
> Glus
>
> I get,
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]