disable bpnumber [bpnumber ...] Disables the breakpoints given as a space separated list of breakpoint numbers. Disabling a breakpoint means it cannot cause the program to stop execution, but unlike clearing a breakpoint, it remains in the list of breakpoints and can
(self, arg)
| 791 | complete_enable = _complete_bpnumber |
| 792 | |
| 793 | def do_disable(self, arg): |
| 794 | """disable bpnumber [bpnumber ...] |
| 795 | Disables the breakpoints given as a space separated list of |
| 796 | breakpoint numbers. Disabling a breakpoint means it cannot |
| 797 | cause the program to stop execution, but unlike clearing a |
| 798 | breakpoint, it remains in the list of breakpoints and can be |
| 799 | (re-)enabled. |
| 800 | """ |
| 801 | args = arg.split() |
| 802 | for i in args: |
| 803 | try: |
| 804 | bp = self.get_bpbynumber(i) |
| 805 | except ValueError as err: |
| 806 | self.error(err) |
| 807 | else: |
| 808 | bp.disable() |
| 809 | self.message('Disabled %s' % bp) |
| 810 | |
| 811 | complete_disable = _complete_bpnumber |
| 812 |
nothing calls this directly
no test coverage detected