diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-04 08:09:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-04 08:09:14 +0000 |
commit | d4fa7a7d431db915148b36e78de9475b8574a49b (patch) | |
tree | 484d0f42a7c67fe711cde97ee9fda34a2b23926f /lib | |
parent | a242e9d8ac61e2e850df698dd61e1d7ea7d2c4dc (diff) |
* object.c (rb_class_real): should not follow ICLASS link
* variable.c (classname): should follow ICLASS link explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debug.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debug.rb b/lib/debug.rb index 2216f3a4df..3eadef9b74 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -448,7 +448,7 @@ class DEBUGGER__ stdout.print "At toplevel\n" end binding, binding_file, binding_line = @frames[frame_pos] - stdout.printf "#%d %s:%s\n", frame_pos, binding_file, binding_line + stdout.printf "#%d %s:%s\n", frame_pos+1, binding_file, binding_line when /^\s*down(?:\s+(\d+))?$/ previous_line = nil @@ -463,7 +463,7 @@ class DEBUGGER__ stdout.print "At stack bottom\n" end binding, binding_file, binding_line = @frames[frame_pos] - stdout.printf "#%d %s:%s\n", frame_pos, binding_file, binding_line + stdout.printf "#%d %s:%s\n", frame_pos+1, binding_file, binding_line when /^\s*fin(?:ish)?$/ if frame_pos == @frames.size |