Rocky Bernstein > Devel-Trepan > Devel::Trepan::CmdProcessor::Command::Condition

Download:
Devel-Trepan-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

Synopsis:

condition bp-number Perl-expression

bp-number is a breakpoint number. Perl-expresion is a Perl expression which must evaluate to true before the breakpoint is honored. If perl-expression is absent, any existing condition is removed; i.e., the breakpoint is made unconditional.

Examples:

 condition 5 x > 10  # Breakpoint 5 now has condition x > 10
 condition 5         # Remove above condition

See also:

break, enable and disable.

syntax highlighting: