Sha256: 27cf096eb0a8539bda51faa4d503c88c47c275767e018a4e040ed5974d4c2f44
Contents?: true
Size: 533 Bytes
Versions: 2
Compression:
Stored size: 533 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
debugger-ide-0.0.2 | lib/ruby-debug/commands/pause.rb |
ruby-debug-ide19-0.4.12 | lib/ruby-debug/commands/pause.rb |