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 50 51 52 53 |
# 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') if $trepan_cmdproc $trepan_cmdproc.run_command($trepan_command) else puts "Something's wrong with debugger setup of irb" end end |