class Byebug::WhereCommand


Show current backtrace.

def description

def description
  %(w[here]|bt|backtrace        Display stack frames.
    Print the entire stack frame. Each frame is numbered; the most recent
    frame is 0. A frame number can be referred to in the "frame" command;
    "up" and "down" add or subtract respectively to frame numbers shown.
    The position of the current frame is marked with -->. C-frames hang
    from their most immediate Ruby frame to indicate that they are not
    navigable.)
end

def execute

def execute
  print_backtrace
end

def names

def names
  %w(where backtrace bt)
end

def regexp

def regexp
  /^\s* (?:w(?:here)?|bt|backtrace) \s*$/x
end