1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2005 - 2015 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 =begin edoc |
|
7 File implementing a debug client. |
|
8 =end |
|
9 |
|
10 # insert path to ourself in front of the search path |
|
11 $:.insert(0, File.dirname($0)) |
|
12 |
|
13 require 'Debuggee' |
|
14 require 'AsyncIO' |
|
15 require 'DebugClientBaseModule' |
|
16 |
|
17 class DebugClient |
|
18 =begin edoc |
|
19 Class implementing the client side of the debugger. |
|
20 =end |
|
21 include AsyncIO |
|
22 include DebugClientBase |
|
23 |
|
24 def initialize |
|
25 =begin edoc |
|
26 Constructor |
|
27 =end |
|
28 initializeAsyncIO |
|
29 initializeDebugClient |
|
30 |
|
31 @variant = "No Qt-Version" |
|
32 end |
|
33 end |
|
34 |
|
35 # We are normally called by the debugger to execute directly |
|
36 |
|
37 if __FILE__ == $0 |
|
38 debugClient = DebugClient.new() |
|
39 debugClient.main() |
|
40 end |
|