lib/ruby-debug/commands/frame.rb in ruby-debug-ide-0.4.0 vs lib/ruby-debug/commands/frame.rb in ruby-debug-ide-0.4.1
- old
+ new
@@ -1,7 +1,9 @@
module Debugger
+
module FrameFunctions # :nodoc:
+
def adjust_frame(frame_pos, absolute)
if absolute
if frame_pos < 0
abs_frame_pos = @state.context.stack_size + frame_pos
else
@@ -23,10 +25,10 @@
@state.frame_pos = abs_frame_pos
end
@state.file = @state.context.frame_file(@state.frame_pos)
@state.line = @state.context.frame_line(@state.frame_pos)
- print_current_frame(@state.context, @state.frame_pos)
+ print_current_frame(@state.frame_pos)
end
end
class WhereCommand < Command # :nodoc: