Author: techfox9

Perl debug notes ..

Monday, July 21st, 2008 @ 9:51 am

From http://goldenink.com/perl/perldebug.html


perl -w myprogram

perl -d myprogram

* c (continue) - start program (or continue from breakpoint)
* l - lists the next few lines
* p [variable name] - print the value of a variable
* q - quit.
* r - returns from current subroutine
* n - executes the next statement at this level
* s - The step command - just hit enter to repeat the command. 
* b - Set a breakpoint - "b n" for line "n", see other conditional breakpoints.

Perl


 


Comments are closed.