DebugClients/Python/DebugClient.py

Sun, 23 Oct 2016 23:12:49 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 23 Oct 2016 23:12:49 +0200
changeset 5269
0e96e1557c45
parent 5207
7283629b02c0
child 5389
9b1c800daff3
permissions
-rw-r--r--

Fix for PyPy showing no local variables and suppress exception on old frames.

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

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

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

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


class DebugClient(DebugClientBase, DebugBase, ThreadExtension):
    """
    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
        """
        DebugClientBase.__init__(self)
        
        DebugBase.__init__(self, self)
        
        ThreadExtension.__init__(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