Method: Debugger::FinishCommand#execute
- Defined in:
- lib/ruby-debug/commands/stepping.rb
#execute ⇒ Object
64 65 66 67 68 69 70 71 72 |
# File 'lib/ruby-debug/commands/stepping.rb', line 64 def execute if @state.frame_pos == @state.context.stack_size - 1 print_msg "\"finish\" not meaningful in the outermost frame." else @state.context.stop_frame = @state.frame_pos @state.frame_pos = 0 @state.proceed end end |