class Byebug::InterruptCommand


Interrupting execution of current thread.

def description

def description
  %(i|nterrupt        Interrupts the program.)
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