Class: Rubinius::Debugger::Command::Disassemble
- Inherits:
-
Rubinius::Debugger::Command
- Object
- Rubinius::Debugger::Command
- Rubinius::Debugger::Command::Disassemble
- Defined in:
- lib/rubinius/debugger/commands.rb
Instance Method Summary collapse
Methods inherited from Rubinius::Debugger::Command
commands, #current_frame, #current_method, descriptor, ext_help, help, #initialize, #listen, match?, pattern, #run_code, #variables
Methods included from Display
#ask, #crit, #display, #error, #info, #section
Constructor Details
This class inherits a constructor from Rubinius::Debugger::Command
Instance Method Details
#run(args) ⇒ Object
531 532 533 534 535 536 537 538 |
# File 'lib/rubinius/debugger/commands.rb', line 531 def run(args) if args and args.strip == "all" section "Bytecode for #{current_frame.method.name}" puts current_method.decode else @debugger.show_bytecode end end |