DebugClients/Python3/DebugClient.py

changeset 0
de9c2efb9d02
child 13
1af94a91f439
diff -r 000000000000 -r de9c2efb9d02 DebugClients/Python3/DebugClient.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DebugClients/Python3/DebugClient.py	Mon Dec 28 16:03:33 2009 +0000
@@ -0,0 +1,38 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2009 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module implementing a non-threaded variant of the debug client.
+"""
+
+from AsyncIO import *
+from DebugBase import *
+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()

eric ide

mercurial