The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Synopsis:

break [location] [if condition]

Set a breakpoint. If location is given use the current stopping point. An optional condition may be given.

Examples:

 break                  # set a breakpoint on the current line
 break gcd              # set a breakpoint in function gcd
 break gcd if $a == 1   # set a breakpoint in function gcd with
                        # condition $a == 1
 break 10               # set breakpoint on line 10

When a breakpoint is hit the event icon is xx.

See also:

help breakpoints, info breakpoints, and help syntax location.