class Byebug::InfoCommand
def info_stop_reason(stop_reason)
def info_stop_reason(stop_reason) case stop_reason when :step print "It stopped after stepping, next'ing or initial start.\n" when :breakpoint print("It stopped at a breakpoint.\n") when :catchpoint print("It stopped at a catchpoint.\n") else print "unknown reason: %s\n" % @state.context.stop_reason.to_s end end