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