|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2003 - 2009 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module implementing a Qt free version of the debug client. |
|
8 """ |
|
9 |
|
10 from AsyncIO import * |
|
11 from DebugBase import * |
|
12 import DebugClientBase |
|
13 |
|
14 |
|
15 class DebugClient(DebugClientBase.DebugClientBase, AsyncIO, DebugBase): |
|
16 """ |
|
17 Class implementing the client side of the debugger. |
|
18 |
|
19 This variant of the debugger implements the standard debugger client |
|
20 by subclassing all relevant base classes. |
|
21 """ |
|
22 def __init__(self): |
|
23 """ |
|
24 Constructor |
|
25 """ |
|
26 AsyncIO.__init__(self) |
|
27 |
|
28 DebugClientBase.DebugClientBase.__init__(self) |
|
29 |
|
30 DebugBase.__init__(self, self) |
|
31 |
|
32 self.variant = 'Standard' |
|
33 |
|
34 # We are normally called by the debugger to execute directly. |
|
35 |
|
36 if __name__ == '__main__': |
|
37 debugClient = DebugClient() |
|
38 debugClient.main() |