module Byebug::InfoFunctions

def info_program(*_args)

def info_program(*_args)
  if @state.context.dead?
    puts 'The program crashed.'
    excpt = Byebug.last_exception
    return puts("Exception: #{excpt.inspect}") if excpt
  end
  puts 'Program stopped. '
  info_stop_reason @state.context.stop_reason
end