Sha256: 6a08defcd0000e9995bbdeaa2dc8acfa8a4ae60083d37929ae7bdfa3e1ee9558
Contents?: true
Size: 919 Bytes
Versions: 6
Compression:
Stored size: 919 Bytes
Contents
# -*- coding: utf-8 -*- # Copyright (C) 2010 Rocky Bernstein <rockyb@rubyforge.net> require 'rubygems'; require 'require_relative' require_relative '../base/subsubcmd' require_relative '../base/subsubmgr' class Trepan::SubSubcommand::ShowDebug < Trepan::SubSubcommandMgr unless defined?(HELP) Trepanning::Subcommand.set_name_prefix(__FILE__, self) HELP = 'Show internal debugger settings.' end end if __FILE__ == $0 require_relative '../../mock' dbgr, cmd = MockDebugger::setup('show') # show_cmd = cmds['show'] # command = Trepan::SubSubcommand::ShowDebug.new(dbgr.core.processor, # show_cmd) # name = File.basename(__FILE__, '.rb') # cmd_args = ['show', name] # show_cmd.instance_variable_set('@last_args', cmd_args) # # require_relative '../../../lib/trepanning' # # Trepan.debug(:set_restart => true) # command.run(cmd_args) end
Version data entries
6 entries across 6 versions & 1 rubygems