Method: Debugger::VarLocalCommand#execute
- Defined in:
- lib/ruby-debug/commands/variables.rb
#execute ⇒ Object
138 139 140 141 142 143 144 |
# File 'lib/ruby-debug/commands/variables.rb', line 138 def execute locals = @state.context.frame_locals(@state.frame_pos) _self = @state.context.frame_self(@state.frame_pos) locals.keys.sort.each do |name| print " %s => %p\n", name, locals[name] end end |