class Byebug::InterruptCommand


Interrupting execution of current thread.

def description

def description
  prettify <<-EOD
    i[nterrupt]  Interrupts the program.
  EOD
end

def execute

def execute
  context = Byebug.thread_context(Thread.main)
  context.interrupt
end

def names

def names
  %w(interrupt)
end

def regexp

def regexp
  /^\s*i(?:nterrupt)?\s*$/
end