Module: Kernel
- Defined in:
- lib/ruby-debug-base.rb
Instance Method Summary collapse
-
#binding_n(n = 0) ⇒ Object
Returns a binding of n-th call frame.
-
#debugger(steps = 1) ⇒ Object
Stops the current thread after a number of steps made.
Instance Method Details
#binding_n(n = 0) ⇒ Object
Returns a binding of n-th call frame
191 192 193 |
# File 'lib/ruby-debug-base.rb', line 191 def binding_n(n = 0) Debugger.current_context.frame_binding[n+1] end |