View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Rocky Bernstein > Devel-Trepan-0.42 > Devel::Trepan::CmdProcessor::Command::Break



Annotate this POD

View/Report Bugs
Source   Latest Release: Devel-Trepan-0.74

break [location] [if condition]

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


 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.

syntax highlighting: