MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / disable

Method disable

pydevd_attach_to_process/winappdbg/breakpoint.py:428–444  ·  view source on GitHub ↗

Transition to L{DISABLED} state. - When hit: OneShot S{->} Disabled - Forced by user: Enabled, OneShot, Running S{->} Disabled - Transition from running state may require special handling by the breakpoint implementation class. @type aProc

(self, aProcess, aThread)

Source from the content-addressed store, hash-verified

426 raise AssertionError(msg)
427
428 def disable(self, aProcess, aThread):
429 """
430 Transition to L{DISABLED} state.
431 - When hit: OneShot S{->} Disabled
432 - Forced by user: Enabled, OneShot, Running S{->} Disabled
433 - Transition from running state may require special handling
434 by the breakpoint implementation class.
435
436 @type aProcess: L{Process}
437 @param aProcess: Process object.
438
439 @type aThread: L{Thread}
440 @param aThread: Thread object.
441 """
442 ## if self.__state not in (self.ENABLED, self.ONESHOT, self.RUNNING):
443 ## self.__bad_transition(self.DISABLED)
444 self.__state = self.DISABLED
445
446 def enable(self, aProcess, aThread):
447 """

Callers 8

hitMethod · 0.95
disableMethod · 0.45
disableMethod · 0.45
disableMethod · 0.45
__cleanup_breakpointMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected