15 |
15 |
16 class DebugClient(DebugClientBase, DebugBase, ThreadExtension): |
16 class DebugClient(DebugClientBase, DebugBase, ThreadExtension): |
17 """ |
17 """ |
18 Class implementing the client side of the debugger. |
18 Class implementing the client side of the debugger. |
19 """ |
19 """ |
|
20 |
20 def __init__(self): |
21 def __init__(self): |
21 """ |
22 """ |
22 Constructor |
23 Constructor |
23 """ |
24 """ |
24 DebugClientBase.__init__(self) |
25 DebugClientBase.__init__(self) |
25 |
26 |
26 DebugBase.__init__(self, self) |
27 DebugBase.__init__(self, self) |
27 |
28 |
28 ThreadExtension.__init__(self) |
29 ThreadExtension.__init__(self) |
29 |
30 |
30 self.__moduleLoader = ModuleLoader(self) |
31 self.__moduleLoader = ModuleLoader(self) |
|
32 |
31 |
33 |
32 # We are normally called by the debugger to execute directly. |
34 # We are normally called by the debugger to execute directly. |
33 |
35 |
34 if __name__ == '__main__': |
36 if __name__ == "__main__": |
35 debugClient = DebugClient() |
37 debugClient = DebugClient() |
36 debugClient.main() |
38 debugClient.main() |