Debugger::Command
Implements debugger “kill” command
# File lib/ruby-debug/commands/kill.rb, line 15 def execute if @match[1] signame = @match[1] unless Signal.list.member?(signame) errmsg("signal name #{signame} is not a signal I know about\n") return false end if 'KILL' == signame @state.interface.finalize end else if not confirm("Really kill? (y/n) ") return else signame = 'KILL' end end Process.kill(signame, Process.pid) end
Generated with the Darkfish Rdoc Generator 2.