in reply to Perl XS and gdb via C++
Ok, in that case make sure your XS is always compiled with symbols.
WriteMakefile( ... OPTIMIZE => '-g', ) [download]
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊