From 0869399cbf26c16c3226f338661da87882418ff8 Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 23 Jun 2001 15:14:28 +0000 Subject: * eval.c (svalue_to_avalue): new conversion scheme between single value and array values. * eval.c (avalue_to_svalue): ditto. * eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return and yield too. * eval.c (rb_yield_0): use avalue_to_svalue(). * eval.c (proc_invoke): Proc#call gives avaules, whereas Proc#yield gives mvalues. * eval.c (bmcall): convert given value (svalue) to avalue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/debug.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/debug.rb') diff --git a/lib/debug.rb b/lib/debug.rb index 9e777952ad..2216f3a4df 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -195,7 +195,7 @@ class DEBUGGER__ when /^\s*i(?:nstance)?\s+/ obj = debug_eval($', binding) - var_list(obj.instance_variables, binding) + var_list(obj.instance_variables, obj.instance_eval{binding()}) when /^\s*c(?:onst(?:ant)?)?\s+/ obj = debug_eval($', binding) -- cgit v1.2.3