Debugger : The Set File, Set Output And Cancel Output Commands : SHOW BREAK Command

SHOW BREAK Command

To see the list of all active breakpoints, use the SHOW BREAK command in one of two forms:

Pdb > SHOW BREAK
Pdb > SHOW BREAK breakpoint_list

The first form allows you to see the list of all active breakpoints. The Debugger displays each active breakpoint, the corresponding trigger_expression, and the DO clause, as in the following example:

Breakpoint LABEL_1 on event : TRUE(ACTIVE(A))
Breakpoint NEW on event: E1 or E2
Breakpoint LABEL_3 on event: [ACTIVE(A)]
Breakpoint BP_! on event: E1
reaction: SHOW COND; SHOW DATA

The second form displays only selected breakpoints. For example, in response to:

Pdb > SHOW BREAK lab*, bp_1

 

the Debugger displays the following list:

Breakpoint LABEL_1 on event: TRUE(ACTIVE(A))
Breakpoint LABEL_3 on event: [ACTIVE(A)]
Breakpoint BP_1 on event: E1
reaction: SHOW COND; SHOW DATA