class DEBUGGER__::Session

def find_waiting_tc id

def find_waiting_tc id
  @th_clients.each{|th, tc|
    return tc if tc.id == id && tc.waiting?
  }
  return nil
end