Re: Locating infinite loops

2001-11-20 Thread Jeremy Howard
Matt Sergeant asked: > I have an error on my server that I think is caused by an infinite loop in > perl code [*]. Does anyone have a reliable way to detect where this is > happening on a server with lots of code? > $SIG{ALRM} = sub { Carp::confess("Got Apache::Event ALRM"); }; alar

Re: Locating infinite loops

2001-11-20 Thread Stas Bekman
Matt Sergeant wrote: > I have an error on my server that I think is caused by an infinite loop in > perl code [*]. Does anyone have a reliable way to detect where this is > happening on a server with lots of code? http://perl.apache.org/guide/debug.html#Using_the_Perl_Trace -- _

Locating infinite loops

2001-11-20 Thread Matt Sergeant
I have an error on my server that I think is caused by an infinite loop in perl code [*]. Does anyone have a reliable way to detect where this is happening on a server with lots of code? Matt. -- <:->Get a smart net [*] In case anyone was wondering, this is probably why you can't get to axkit.o