Method: RubyDebugClient#start_session

Defined in:
ext/ae-ruby-debug/ae-ruby-debug.rb

#start_sessionObject



1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
# File 'ext/ae-ruby-debug/ae-ruby-debug.rb', line 1048

def start_session
  begin
    #p "======>start session"
    @t = @timeout 
    if socket_session
      #Arcadia.new_debug_msg(self,"session : #{@session.inspect}")    
      notify('start', read)
      read("eval require 'yaml'")
    end
    return @session
  rescue Exception => e
    Arcadia.console(self, 'msg'=>Arcadia.text('ext.ruby_debug.client.e.start_session', [e.class, e.message], e.backtrace.join('..')), 'level'=>'debug')
    #Arcadia.new_debug_msg(self,"Error on start_session : #{e.class}:#{e.message}")    
  end
end