Breakpoints

The Perl debugger supports line breakpoints and regular expression breakpoints. Both types of breakpoints are set on an executable line of a program. If enabled, they suspend thread execution before the corresponding line of code is executed. Regular expression breakpoints additionally extract the regular expression contained in the line of code they are associated with and enable you to debug the regular expression within the RegExp-Plugin.

The following symbols are used to indicate breakpoints:

StatusLine BreakpointRegular Expression Breakpoint
Enabled
Disabled
Registered with debugger

Note

Regular Expressions Breakpoints are still in an experimental state and will at the moment only work for expressions of the type: Expr1 =~ <delim>regexp<delim>modifiers; Modifiers are ignored.

While the breakpoint is enabled, thread execution suspends before that line of code is executed.

Open the debug view, open the Breakpoints view and use the check box in front of the break point to enable or disable the break point.

There are two possible ways for removing a breakpoint: