src/eric7/DebugClients/Python/DebugClient.py

Sat, 20 May 2023 19:50:13 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 20 May 2023 19:50:13 +0200
branch
eric7
changeset 10045
f5c57f8d17a4
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
permissions
-rw-r--r--

Fixed an issue in the Python debugger caused by a @property method raising an exception (see issue 503).

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

# Copyright (c) 2003 - 2023 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