Billy Patton wrote:
> How can I detect memory problem in my XS ?
> DO I need to compile a purify version of perl to get this to work?
> I tried perlcc but it failed to find one routine in my XS, but it
> was in my XS, the generated .c and it is in my library. My thought
> was to purify this file in hopes of finding memoty leaks. but no such
> luck.
Yes, you need to build perl specifically for this. See the instructions
in Porting/pumkin.pod in your perl source directory. XS modules are
purified 'on the fly' as they asre opened by the main executable. As
long as you have compiled your XS with -g you should be OK.
Alan Burlison