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