eric7.DebugClients.Python.MultiprocessingExtension
Module implementing a function to patch multiprocessing.Process to support
debugging of the process.
Global Attributes
_debugClient |
_originalBootstrap |
_originalProcess |
Classes
Functions
ProcessWrapper
Wrapper class for multiprocessing.Process.
Derived from
_originalProcess
Class Attributes
Class Methods
Methods
_bootstrap |
Wrapper around _bootstrap to start debugger. |
Static Methods
ProcessWrapper._bootstrap
_bootstrap(*args, **kwargs)
Wrapper around _bootstrap to start debugger.
- args (list)
-
function arguments
- kwargs (dict)
-
keyword only arguments
- Return:
-
exit code of the process
- Return Type:
-
int
patchMultiprocessing
patchMultiprocessing(module, debugClient)
Function to patch the multiprocessing module.
- module (module)
-
reference to the imported module to be patched
- debugClient (DebugClient)
-
reference to the debug client object