Hi Jim,

On Mon, 2012-06-04 at 18:27 -0007, Jim Nelson wrote:
> On Sat, Jun 2, 2012 at 9:46 AM, Jürg Billeter <j...@bitron.ch> wrote:
> * Add --enable-gobject-tracing commandline option. 
> 
> 
> Is there any documentation to explain what GObject tracing is and how
> to use it?

No, there is no documentation yet. At the moment it simply adds implicit
calls in the form of

        g_object_set_data (object, "vala-creation-function", "Method")

after every object creation expression `new Foo(...)`. "Method" is
replaced by the name of the method that contains the object creation
expression.

The purpose is to aid in debugging as you can call g_object_get_data in
gdb to determine where a particular object was created. This obviously
doesn't work for objects created indirectly by a library function.

Regards,
Jürg

_______________________________________________
vala-devel-list mailing list
vala-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-devel-list

Reply via email to