RefDbg project is a GObject reference count debugger GObject is part of the glib library (not to be confused with glibc) which forms the basis of GTK+ (the Gimp ToolKit), Gnome, GStreamer and many other projects. The GObject library adds object oriented stuff to C which by itself lacks object oriented features.
Since C lacks garbage collection, a reference counting system is used. Each object has a count of how many other references (pointers) there are to it. Reference count bugs can be very hard to track down and can lead to crashes and memory leaks. Refdbg is a tool that can be used interactively with GDB to log, display and break on reference count activity, thereby making this task easier.
· GTK+ version 2.0.x
· GTK version 2.0.x