8 """ |
8 """ |
9 |
9 |
10 from DebugBase import DebugBase |
10 from DebugBase import DebugBase |
11 from DebugClientBase import DebugClientBase |
11 from DebugClientBase import DebugClientBase |
12 from ThreadExtension import ThreadExtension |
12 from ThreadExtension import ThreadExtension |
|
13 from ModuleLoader import ModuleLoader |
13 |
14 |
14 |
15 |
15 class DebugClient(DebugClientBase, DebugBase, ThreadExtension): |
16 class DebugClient(DebugClientBase, DebugBase, ThreadExtension): |
16 """ |
17 """ |
17 Class implementing the client side of the debugger. |
18 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 """ |
19 """ |
22 def __init__(self): |
20 def __init__(self): |
23 """ |
21 """ |
24 Constructor |
22 Constructor |
25 """ |
23 """ |
27 |
25 |
28 DebugBase.__init__(self, self) |
26 DebugBase.__init__(self, self) |
29 |
27 |
30 ThreadExtension.__init__(self) |
28 ThreadExtension.__init__(self) |
31 |
29 |
32 self.variant = 'Standard' |
30 self.__moduleLoader = ModuleLoader(self) |
33 |
31 |
34 # We are normally called by the debugger to execute directly. |
32 # We are normally called by the debugger to execute directly. |
35 |
33 |
36 if __name__ == '__main__': |
34 if __name__ == '__main__': |
37 debugClient = DebugClient() |
35 debugClient = DebugClient() |