add_breakpoint (Debugger)

    /*
     *   call-seq:
     *      Debugger.add_breakpoint(source, pos, condition = nil) -> breakpoint
     *
     *   Adds a new breakpoint.
     *   <i>source</i> is a name of a file or a class.
     *   <i>pos</i> is a line number or a method name if <i>source</i> is a class name.
     *   <i>condition</i> is a string which is evaluated to +true+ when this breakpoint
     *   is activated.
     */
    static VALUE
    debug_add_breakpoint(int argc, VALUE *argv, VALUE self)
    {
        VALUE result;

        debug_check_started();

        result = create_breakpoint_from_args(argc, argv, ++bkp_count);
        rb_ary_push(breakpoints, result);
        return result;
    }