Class: IRB::ExtendCommand::TDbgr

Inherits:
Object
  • Object
show all
Defined in:
app/irb.rb

Overview

Issues a comamnd to the debugger without continuing execution.

Class Method Summary collapse

Class Method Details

.execute(conf, *opts) ⇒ Object



47
48
49
50
51
52
53
54
55
56
57
# File 'app/irb.rb', line 47

def self.execute(conf, *opts)
  $trepan_command =
    if opts.size == 1 && opts[0].is_a?(String)
      $trepan_args = opts[0]
    else
      opts.join(' ')
    end
  # dbg_cmdproc = conf.workspace.instance_variable_get('@dbg_cmdproc')
  # dbg_cmdproc.run_command($trepan_command)
  $trepan_cmdproc.run_command($trepan_command)
end