A Continental Perl Adventure Day Two 45 of 96 : [PREV] [NEXT]

Gabor Szabo - Debugging Perl

Builtin Debugger

  • perl -d myscript.pl
  • perl5db.pl
  • simple commands to view lines and variables (l, p, x)
  • executing lines (n [next], s [stepinto], enter [previous command])
  • watchpoints (w)
  • Trace (T) shows the trace of calls
  • breakpoints (b) & continue (c)
  • L for current state
  • Perl Tutorial by Richard Foley, perldebtut

© 2003 Barbie barbie@missbarbell.co.uk Home http://birmingham.pm.org/