muncher has asked for the wisdom of the Perl Monks concerning the following question:
Is there an easy way when calling a subroutine to determine what called that subroutine? This is for debugging purposes so I don't have to put print statements all through the code.
ie. subroutine A calls subroutine B, What can I do in B to know that A called B?
Also, can anyone recommend a perl graphical debugger (something like DDD is on my wish list) that works?
Thanks
M
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: subroutine tracking
by broquaint (Abbot) on Jun 25, 2002 at 10:00 UTC | |
|
Re: subroutine tracking
by bronto (Priest) on Jun 25, 2002 at 11:29 UTC | |
by flounder99 (Friar) on Jun 25, 2002 at 12:44 UTC | |
|
Re: subroutine tracking
by Joost (Canon) on Jun 25, 2002 at 10:20 UTC | |
|
Re: subroutine tracking
by zejames (Hermit) on Jun 25, 2002 at 10:02 UTC | |
|
Re: subroutine tracking
by Jenda (Abbot) on Jun 25, 2002 at 20:30 UTC |