Sha256: dd867a42c22dc1b0f365b45d0fc78a613d3c65113a28fe9c749ece8629bded45
Contents?: true
Size: 886 Bytes
Versions: 9
Compression:
Stored size: 886 Bytes
Contents
# -*- coding: utf-8 -*- # Copyright (C) 2010, 2011 Rocky Bernstein <rockyb@rubyforge.net> require 'rubygems'; require 'require_relative' require_relative '../base/subsubcmd' require_relative '../base/subsubmgr' class Trepan::SubSubcommand::ShowTrace < Trepan::SubSubcommandMgr unless defined?(HELP) Trepanning::Subcommand.set_name_prefix(__FILE__, self) HELP = "Show event tracing printing" MIN_ABBREV = 'tr'.size SHORT_HELP = HELP end end if __FILE__ == $0 # Demo it. require_relative '../../mock' cmd_ary = Trepan::SubSubcommand::ShowTrace::PREFIX dbgr, parent_cmd = MockDebugger::setup(cmd_ary[0], false) cmd = Trepan::SubSubcommand::ShowTrace.new(dbgr.processor, parent_cmd) cmd_name = cmd_ary.join('') prefix_run = cmd_ary[1..-1] cmd.run(prefix_run) end
Version data entries
9 entries across 9 versions & 1 rubygems