In Files

  • debug-1.4.0/lib/debug/session.rb

Parent

Object

Public Instance Methods

get_thread_client(th = Thread.current) click to toggle source

can be called by other threads

 
               # File debug-1.4.0/lib/debug/session.rb, line 1447
def get_thread_client th = Thread.current
  if @th_clients.has_key? th
    @th_clients[th]
  else
    if Thread.current == @session_server
      create_thread_client th
    else
      ask_thread_client th
    end
  end
end
            
There is an updated format of the API docs for this version here.