Method: Debugger::InterruptCommand#execute

Defined in:
lib/ruby-debug/commands/control.rb

#executeObject



110
111
112
113
114
115
# File 'lib/ruby-debug/commands/control.rb', line 110

def execute
  unless Debugger.interrupt_last
    context = Debugger.thread_context(Thread.main)
    context.interrupt
  end
end