Re: debugging information



Yiannis schrieb:
Sorry if this is beyond the scope of this list.... but on the following
message

(md:2198): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT
(object)' failed

which is a runtime error I am wondering what is the (md:2198). Yes md is the
program name... but the 2198 is to which use to me in order to find which
particular g_object_unref in this case is failing? In other words is it
possible to trace the file/function/line that this error is caused from?

Cheers.

Yes, you can use g_log_set_always_fatal() to enforce program abortion
on log level G_LOG_LEVEL_CRITICAL. Then you can simple use a debugger
to look where the message originate from.

Cheers, Andy



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