Jack Diederich wrote:
> Electric Fence[1] uses the LD_PRELOAD method.  I've successfully used it to
> track down leaks in a python C extension.  If you look at the setup.py in
> probstat[2] you'll see
>   #libraries = ["efence"] # uncomment to use ElectricFence
> which is a holdover from developing.

I've also successfully used Electric Fence many years ago to track down
leaks in a C/Linux program. Since that time Electric Fence has been
forked into DUMA project http://duma.sourceforge.net/ and was ported to
windows, perhaps it has become cross-platform? I've never tried it on
anything besides Linux.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to