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