The Perl Debugger #14


b <line-number or subroutine> <condition> - Set a breakpoint

  • causes the debugger to return to the user from continuous execution (c)

        DB<1> b buggySub ($x > 23)
        DB<2> b 500
  • related commands:

d <line-number> - delete the breakpoint at the specified line, or at the current line

D - delete all breakpoints

L - list all breakpoints and actions

(see example)

<< Previous | Index | Next >> Copyright © 2002 Daniel Allen