in reply to Testing Inline::C Modules

I've found valgrind a useful tool to check whether memory is accessed properly. It keeps track where you have allocated memory, where you have freed it, and where you step out of line. It can produce reports of unreachable memory, and unfreed memory when the program ends.

Abigail

Replies are listed 'Best First'.
Re: Re: Testing Inline::C Modules
by Ovid (Cardinal) on Feb 11, 2004 at 18:41 UTC

    Thank you. I'll check that out. I've also thought about just embedding an automatic memory manager in my code, but it seems like overkill.

    Cheers,
    Ovid

    New address of my CGI Course.