DebugClients/Ruby/DebugClient.rb

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

eric ide

mercurial