Extracted from Pike v7.3 release 18 at 2002-03-27.
pike.roxen.com
[Top]

Method _gc_set_watch()


Method _gc_set_watch

void _gc_set_watch(array|multiset|mapping|object|function|program|string x)

Description

Sets a watch on the given thing, so that the gc will print a message whenever it's encountered. Intended to be used together with breakpoints to debug the garbage collector.

Note

This function only exists if the Pike runtime has been compiled with RTL debug.