Class: Debugger::VarInstanceCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/debugger/xml/extensions/commands/variables.rb

Instance Method Summary collapse

Instance Method Details

#execute_with_xml(*args) ⇒ Object Also known as: execute



11
12
13
14
15
16
17
# File 'lib/debugger/xml/extensions/commands/variables.rb', line 11

def execute_with_xml(*args)
  if Debugger.printer.type == "xml"
    print Debugger.printer.print_instance_variables(get_obj(@match))
  else
    execute_without_xml(*args)
  end
end