|go ahead... be a heretic|
Debugging a programby leonidlm (Pilgrim)
|on Aug 06, 2008 at 13:23 UTC||Need Help??|
leonidlm has asked for the
wisdom of the Perl Monks concerning the following question:
Hi all again, I have a general question.
Currently I debug my programs in a "old school way" using a lot print/Dumper calls :)
Somehow I am feeling I can get better in that so I am interested in the following information:
1. How you debug your program?
2. Is there a way to run a perl script in a debugger and see output like such:
"Creating variable '$a'"
"Assigning 2 to '$a'"
"Entering a loop on all '@array' values assigned to '$val'"
I hope I managed to explain my point.
Thanks all in advance for helping! Help me to become a better debugger :)!