SMOP Debugging: Revision 1
Debugging a libtool package is not that straight forward because of the libtool scripts, which gdb doesn't like at all.
First thing, you need to get a debug-friendly compilation, to get that you need to do:
Then, to debug, let's say test/01_smop_lowlevel.t, you must:
This is needed because libtool puts the actual binaries in a .libs directory, and gdb is not happy debugging the script libtool places in the place of the executable.
See also SMOP Hacking