Class | Debugger::Context |
In: |
lib/ruby-debug-base.rb
ext/ruby_debug.c |
Parent: | Object |
frame_binding | -> | __c_frame_binding |
Returns true if context doesn‘t represent a live context and is created during post-mortem exception handling.
Sets a context-specific temporary breakpoint, which can be used to implement ‘Run to Cursor’ debugger function. When this breakpoint is reached, it will be cleared out.
source is a name of a file or a class. pos is a line number or a method name if source is a class name. condition is a string which is evaluated to true when this breakpoint is activated.
Stops the current context after a number of steps are made. force parameter (if true) ensures that the cursor moves from the current line.
Steps over a steps number of times. Make step over operation on frame, by default the current frame. force parameter (if true) ensures that the cursor moves from the current line.
Stops the current context after a number of steps are made. force parameter (if true) ensures that the cursor moves from the current line.
Returns the reason for the stop. It maybe of the following values: :initial, :step, :breakpoint, :catchpoint, :post-mortem