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)
| 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 |
no outgoing calls
no test coverage detected