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
(self, arg)
| 849 | complete_enable = _complete_bpnumber |
| 850 | |
| 851 | def do_disable(self, arg): |
| 852 | """disable bpnumber [bpnumber ...] |
| 853 | Disables the breakpoints given as a space separated list of |
| 854 | breakpoint numbers. Disabling a breakpoint means it cannot |
| 855 | cause the program to stop execution, but unlike clearing a |
| 856 | breakpoint, it remains in the list of breakpoints and can be |
| 857 | (re-)enabled. |
| 858 | """ |
| 859 | args = arg.split() |
| 860 | for i in args: |
| 861 | try: |
| 862 | bp = self.get_bpbynumber(i) |
| 863 | except ValueError as err: |
| 864 | self.error(err) |
| 865 | else: |
| 866 | bp.disable() |
| 867 | self.message('Disabled %s' % bp) |
| 868 | |
| 869 | complete_disable = _complete_bpnumber |
| 870 |
nothing calls this directly
no test coverage detected