Rocky Bernstein > Devel-Trepan-0.44 > Devel::Trepan::CmdProcessor::Command::Break

Download:
Devel-Trepan-0.44.tar.gz

Dependencies

Annotate this POD

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

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.

syntax highlighting: