UseCases.remote_debug.find_pydevd.2_PYDEVDSCAN package

Submodules

UseCases.remote_debug.find_pydevd.2_PYDEVDSCAN.CallCase module

class UseCases.remote_debug.find_pydevd.2_PYDEVDSCAN.CallCase.CallUnits(methodName='runTest')[source]

Bases: unittest.case.TestCase

classmethod setUpClass()[source]
testCall_both_superposed()[source]
testCall_defaults()[source]

disable use of RDBGROOT and RDBGSUB

testCall_environ_only()[source]

enable use of RDBGROOT and RDBGSUB

testCall_sub_superposed()[source]
testCall_superposed_root()[source]

Module contents

The UseCase remote_debug demonstrates and verifies the basic facilities for remote debugging of external Python subprocesses by the PyDev/Eclipse framework.

Therefore three components are provided:

  • calldir/CallUseCase.py

    The main primary call of the UseCase. In dialogue mode this should be started by PyDev debugger from Eclipse.

  • subprocdir/bin/epyunit4RDbg.py

    When stepping over the ‘callit’ statement, the subprocess ‘epyunit4RDbg.py’ initializes itself with the ‘pydevd.py’, and continues under control of the PyDev debugger. The remote debug server has to be started before, see manuals ePyDev!

  • scriptdir/bin/myscript.py

    The script provides hard-coded response output for the test of ePyUnit itself, but also wrapper processes in general.