Class: IRB::ExtendCommand::Dbgr
- Inherits:
-
Object
- Object
- IRB::ExtendCommand::Dbgr
- 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
40 41 42 43 44 45 46 47 48 49 |
# File 'app/irb.rb', line 40 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) end |