in reply to Can I track which address Perl code is using?

You can use the Perl debugger, which should be able to give you a stack trace when your program segfaults. You can also watch variables and set breakpoints just like a standard debugger. See perldebug for details.

Of course, if the Perl debugger isn't up to the task, there's always gdb. Since Perl is a C program it can be compiled with debugging symbols and run through gdb.

-sam

  • Comment on Re: Can I track which address Perl code is using?