lib/ruby-debug/commands/inspect.rb in ruby-debug-ide-0.4.11 vs lib/ruby-debug/commands/inspect.rb in ruby-debug-ide-0.4.16

- old
+ new

@@ -13,10 +13,11 @@ def regexp /^\s*v(?:ar)?\s+inspect\s+/ end # def execute - obj = debug_eval(@match.post_match) + binding = @state.context ? get_binding : TOPLEVEL_BINDING + obj = debug_eval(@match.post_match, binding) InspectCommand.reference_result(obj) @printer.print_inspect(obj) end end \ No newline at end of file