Stack traces from introspection bindings?



Hi all.

One of the things that became more difficult with the move to introspection-based bindings was figuring out what caused some error messages. For example:

(main.pl:25925): Gtk-CRITICAL **: gtk_list_store_get_value: assertion 'column < priv->n_columns' failed
*** unhandled exception in callback:
***   [gperl_sv_from_value] FIXME: unhandled type - 0 ((null) fundamental for (null))
***  ignoring at /usr/local/lib64/perl5/5.20.1/Gtk3.pm line 318.

Luckily for me, I know precisely what caused this error, because I just changed some code in the area. If I'd just triggered a rare bug that I'd introduced a while back, I'd be absolutely lost as to *where* in the code this was happening. Is there any way of triggering a full stack trace on these kinds of errors?

Dan


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