DebugClients/Ruby/DebugClient.rb

Mon, 26 Dec 2011 19:31:22 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 26 Dec 2011 19:31:22 +0100
changeset 1509
c0b5e693b0eb
parent 791
9ec2ac20e54e
child 2302
f29e9405c851
permissions
-rw-r--r--

Updated copyright for 2012.

# -*- coding: utf-8 -*-

# Copyright (c) 2005 - 2012 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

eric ide

mercurial