Breakpoints
In this section:
Toolbar
Item | Tooltip and shortcut | Description |
---|---|---|
![]() | Add Breakpoint Alt+Insert | Click to show the list of available breakpoint types. Select the desired type to create a new breakpoint. |
![]() | Remove Breakpoint | Click this button to remove selected breakpoints. |
![]() | Group by File | Click this button to display breakpoints under their respective files, rather than under their types: ![]() |
Breakpoint options
The controls of this part of the Breakpoints dialog depend on the type of the selected breakpoint.
Option | Description | Types of breakpoints |
---|---|---|
Suspend | Select this check box to enable suspend policy for a breakpoint. Select one of the radio buttons to specify the way the running of the program is paused when a breakpoint is reached. If you work with JavaScript breakpoints, you only need to specify whether you want to suspend program execution when the breakpoint is hit. If the check box is not selected, no threads are suspended. | Python line breakpoints |
Condition | Select this check box and specify a condition for hitting a breakpoint in the text field. A condition is a Boolean expression. This expression should be valid at the line where the breakpoint is set, and is evaluated every time the breakpoint is reached. If the evaluation result is If the result is To the right of the Condition field, there is the button | All types |
Log message to console | Select this check box if you want a log message to be displayed in the console output when the breakpoint is hit. | All types |
Evaluate and log | Select this check box if you wish to evaluate a certain expression at this breakpoint and to export result to the console output. To the right of this field, there is the button | Line breakpoints |
Remove once hit | Select this check box, if the you want the breakpoint to be deleted after hitting it. | All types |
Disabled until selected breakpoint is hit | From the drop-down list, select the breakpoint in question. The option None corresponds to the always enabled breakpoint. Besides that, you can also choose the behavior of this breakpoint, when the selected one is hit: | All types |
Activation policy | ||
On termination | The Debugger stops when the process terminates with this exception. | Python exception breakpoints |
On raise | If this option is selected, the Debugger stops on throwing an exception. So doing, the Debugger stops only on the first place where the exception has been thrown. | Python exception breakpoints |
Ignore library files | If this check box is selected, the debugger does not stop at the exceptions thrown inside libraries. If this check box is not selected, the debugger stops at the location in a library file, where the exception is thrown. | Python exception breakpoints |
Context menu commands
Command | Description |
---|---|
Move to group | Point to this command to move the selected breakpoint to a new group, to one of the existing groups(<group name> ), or out of a group (<no group> ). |
Edit description | Choose this command to enter or change description of a breakpoint. |