gns.debug: useful debug tools to detect memory leaks