module Byebug::Helpers::VarHelper
def var_local
def var_local locals = context.frame.locals cur_self = context.frame._self locals[:self] = cur_self unless cur_self.to_s == "main" puts prv(locals.keys.sort.map { |k| [k, locals[k]] }, "instance") end