static VALUE call_at(VALUE ctx, debug_context_t * dc, ID mid, int argc, VALUE arg) { struct call_with_inspection_data cwi; VALUE argv[1]; argv[0] = arg; cwi.dc = dc; cwi.ctx = ctx; cwi.id = mid; cwi.argc = argc; cwi.argv = &argv[0]; return call_with_debug_inspector(&cwi); }
static VALUE call_at(VALUE context_obj, debug_context_t *dc, ID mid, int argc, VALUE a0, VALUE a1) { struct call_with_inspection_data cwi; VALUE argv[2]; argv[0] = a0; argv[1] = a1; cwi.dc = dc; cwi.context_obj = context_obj; cwi.id = mid; cwi.argc = argc; cwi.argv = &argv[0]; return call_with_debug_inspector(&cwi); }