MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / on_setup

Method on_setup

windows/debug/debugger.py:1052–1064  ·  view source on GitHub ↗

Called on the first breakpoint event occuring in the debugger. This callback allow to setup hook / interact with the debugee when ready: - If :func:`on_setup` is overriden by a subclass it will be called and :func:`on_exception` will NOT be called for this event (first BP).

(self)

Source from the content-addressed store, hash-verified

1050
1051 # Public callback
1052 def on_setup(self):
1053 """Called on the first breakpoint event occuring in the debugger.
1054 This callback allow to setup hook / interact with the debugee when ready:
1055
1056 - If :func:`on_setup` is overriden by a subclass it will be called and :func:`on_exception` will NOT be called for this event (first BP).
1057 - If :func:`on_setup` is not defined the first BP will trigger an :func:`on_exception`.
1058
1059 .. note::
1060
1061 see sample :ref:`sample_debugger_on_setup`
1062
1063 """
1064 return None
1065
1066 # Help detect if on_setup was override
1067 on_setup._abstract_on_setup_ = True

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected