src/eric7/DebugClients/Python/DebugClient.py

Tue, 06 Dec 2022 14:06:42 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 06 Dec 2022 14:06:42 +0100
branch
eric7
changeset 9571
0e2ab682dfa3
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
permissions
-rw-r--r--

Fixed an issue in the multi process debugger causing a corrupted command line for an external non-Python program (e.g. if call via subprocess.Popen) (see issue466).

# -*- coding: utf-8 -*-

# Copyright (c) 2003 - 2022 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing the standard debug client.
"""

from DebugBase import DebugBase
from DebugClientBase import DebugClientBase
from ModuleLoader import ModuleLoader
from ThreadExtension import ThreadExtension


class DebugClient(DebugClientBase, DebugBase, ThreadExtension):
    """
    Class implementing the client side of the debugger.
    """

    def __init__(self):
        """
        Constructor
        """
        DebugClientBase.__init__(self)

        DebugBase.__init__(self, self)

        ThreadExtension.__init__(self)

        self.__moduleLoader = ModuleLoader(self)


# We are normally called by the debugger to execute directly.

if __name__ == "__main__":
    debugClient = DebugClient()
    debugClient.main()

eric ide

mercurial