class Byebug::InterruptCommand


Interrupting execution of current thread.

def self.description

def self.description
  <<-EOD
    int[errupt]
    #{short_description}
  EOD
end

def self.regexp

def self.regexp
  /^\s*int(?:errupt)?\s*$/
end

def self.short_description

def self.short_description
  'Interrupts the program'
end

def execute

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