DebugClients/Python3/DebugClient.py

Sat, 05 Dec 2015 13:20:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Dec 2015 13:20:36 +0100
branch
6_1_x
changeset 4605
25851e211cfa
parent 4541
e8ddd9d76414
child 4631
5c1a96925da4
permissions
-rw-r--r--

Incorporated two little fixes (one slightly changed) provided by Tobias Rzepka.
(grafted from 623f95f1531b536006dce83eaee8bc11dace562b)

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

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

"""
Module implementing a non-threaded variant of the debug client.
"""

from AsyncIO import AsyncIO
from DebugBase import DebugBase
import DebugClientBase


class DebugClient(DebugClientBase.DebugClientBase, AsyncIO, DebugBase):
    """
    Class implementing the client side of the debugger.
    
    This variant of the debugger implements the standard debugger client
    by subclassing all relevant base classes.
    """
    def __init__(self):
        """
        Constructor
        """
        AsyncIO.__init__(self)
        
        DebugClientBase.DebugClientBase.__init__(self)
        
        DebugBase.__init__(self, self)
        
        self.variant = 'Standard'

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

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

#
# eflag: noqa = M702

eric ide

mercurial