Re: Debug glibmm-CRITICAL

Kjell Ahlstedt via gtkmm-list <[email protected]> Tue, 15 Dec 2020 10:16:21 +0100
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <[email protected]>
On 2020-12-15 07:31, Emil Nowak via gtkmm-list wrote:
> Hello,
> In my application from time to time I get "glibmm-CRITICAL" errors. They are
> displayed on console.
> I wonder how can I debug them.
> So far I found that in glib there is env variable "G_DEBUG=fatal-criticals"
> for that in Glib, but seems it doesn't affect Glibmm.
>
> Is there anything similar in glibmm/gtkmm
>
> I'm using:
> Glibmm: 2.64.2
> Gtkmm: 3.24.2
Run your application in a debugger, such as gdb, and set a breakpoint at 
calls to the g_log function. Check from where that function is called. 
There may be both interesting and uninteresting calls to g_log().

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list