Phoenix.pm: stack backtraces from lockedup programs

Scott Walters scott at illogics.org
Thu Dec 4 20:27:02 CST 2003


Hi folks, 

We're here at PPM and there was a disucssion of how to get debug
what is locking up. I suggested this:

    $SIG{INT} = sub { require Carp; Carp::croak(); };

Then when it locks up, just kill -INT it.

>From http://perldesignpatterns.com/?DebuggingPattern.

Kind of a little FAQ for the #perlhelp newbies mostly ;)

-scott



More information about the Phoenix-pm mailing list