Re: [debugger] finding deep recursin
[email protected] ((Peter Scott)) 11 Jan 2004 17:33:32 -0000
| Newsgroups | perl.debugger |
|---|---|
| Organization | Pacific Systems Design Technologies |
| Message-ID | <[email protected]> |
In article <[email protected]>, [email protected] (Gabor Szabo) writes: > >Any idea how can I use the debugger to find the cause of >a deep recursion in my code ? I don't see the need for the debugger. Deep recursion is a warning, so just turn the warning into a fatal error with stack trace: % perl -MCarp=confess -we '$SIG{__WARN__} = sub {confess @_ }; \ sub foo { foo() } foo' -- Peter Scott http://www.perldebugged.com/ *** NEW *** http//www.perlmedic.com/