Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: simple XSby spx2 (Deacon) |
on Mar 01, 2010 at 15:59 UTC ( [id://825949]=note: print w/replies, xml ) | Need Help?? |
thanks kthakore, I had to install the perl-debug package in debian(so that I get a perl compiled with debugging symbols) and run gdb debugperl then run -I./blib/arch/auto/SJT/SJT.so file.pl in order to use gdb on it, and then, contrary to intuition I had to put breakpoints on SJT.xs and not SJT.c like break SJT.xs:44, I highlighted with red the line that segfaulted above.
In Section
Seekers of Perl Wisdom
|
|