DebugClients/Python3/DebugClient.py

Tue, 30 Aug 2016 20:13:21 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 30 Aug 2016 20:13:21 +0200
changeset 5115
ed2f37c1f6b6
parent 4631
5c1a96925da4
child 5128
b6cbdba69967
permissions
-rw-r--r--

Fixed an issue in the debugger backend for Python3 causing a trailing u in a command line argument to be deleted.

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

# Copyright (c) 2009 - 2016 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