We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeaf934 commit 03c2098Copy full SHA for 03c2098
lib/ruby-debug-base.rb
@@ -25,7 +25,7 @@ def frame_binding(frame)
25
26
def hbinding(frame)
27
hash = frame_locals(frame)
28
- code = hash.keys.map{|k| "#{k} = hash['#{k}']" unless k=='self' }.compact.join(';') + ';binding'
+ code = hash.keys.map{|k| "#{k} = hash['#{k}']" unless k=='self' }.compact.join(';') + ';::Kernel.binding'
29
if obj = frame_self(frame)
30
obj.instance_eval code
31
else
0 commit comments