Module: Debugger::Kernel
- Defined in:
- lib/ruby-debug-ide.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
179 180 181 |
# File 'lib/ruby-debug-ide.rb', line 179 def binding_n(n = 0) Debugger.current_context.frame_binding[n+1] end |
#debugger(steps = 1) ⇒ Object
Stops the current thread after a number of steps made.
172 173 174 |
# File 'lib/ruby-debug-ide.rb', line 172 def debugger(steps = 1) Debugger.current_context.stop_next = steps end |