Sha256: 8984612983e75e0757197312bc6dbc339428098e259bd15f0f96228e17cb7375
Contents?: true
Size: 565 Bytes
Versions: 14
Compression:
Stored size: 565 Bytes
Contents
module Debugger # Implements debugger "pause" command class PauseCommand < Command self.control = true def regexp /^\s*pause\s*(?:\s+(\S+))?\s*$/ end def execute c = get_context(@match[1].to_i) unless c.respond_to?(:pause) print_msg "Not implemented" return end c.pause end class << self def help_command %w[pause] end def help(cmd) %{ pause <nnn>\tpause a running thread } end end end end
Version data entries
14 entries across 14 versions & 1 rubygems