http://www.perlmonks.org?node_id=700039


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', )

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊