global

def app_frames

def app_frames
  locations = frame_manager.bindings.map(&LOCATION_LAMBDA)
  filtered = backtrace_cleaner.clean(locations)
  frame_manager.bindings
    .each_with_index
    .map
    .select do |_binding, _index|
      LOCATION_LAMBDA.call(_binding).in?(filtered)
    end
end