class Byebug::Context
def frame_locals(frame_no = 0)
-
frame_no() -- Frame index in the backtrace. Defaults to 0.
def frame_locals(frame_no = 0) bind = frame_binding(frame_no) return [] unless bind bind.eval('local_variables.inject({}){|h, v| h[v] = eval(v.to_s); h}') end