diff -r 000000000000 -r de9c2efb9d02 DebugClients/Ruby/DebugClient.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DebugClients/Ruby/DebugClient.rb Mon Dec 28 16:03:33 2009 +0000 @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2009 Detlev Offenbach <detlev@die-offenbachs.de> +# + +=begin edoc +File implementing a debug client. +=end + +if RUBY_VERSION < "1.9" + $KCODE = 'UTF8' + require 'jcode' +end + +# insert path to ourself in front of the search path +$:.insert(0, File.dirname($0)) + +require 'Debuggee' +require 'AsyncIO' +require 'DebugClientBaseModule' + +class DebugClient +=begin edoc +Class implementing the client side of the debugger. +=end + include AsyncIO + include DebugClientBase + + def initialize +=begin edoc +Constructor +=end + initializeAsyncIO + initializeDebugClient + + @variant = "No Qt-Version" + end +end + +# We are normally called by the debugger to execute directly + +if __FILE__ == $0 + debugClient = DebugClient.new() + debugClient.main() +end