class Pry::LastException

def inc_bt_index

def inc_bt_index
  @bt_index = (@bt_index + 1) % backtrace.size
end