in reply to Connect gdb to a running perl process
If you compile perl with DEBUGGING, you not only get the use of the -D option, you also get the symbol table and debug info preserved. That is fine fodder for gdb.
After Compline,Zaxo