vendor/ruby/2.7.0/gems/byebug-11.1.3/ext/byebug/context.c
/*
 *  call-seq:
 *    context.switch -> nil
 *
 *  Switches execution to this context.
 */


Switches execution to this context.
Switches execution to this context .
static VALUE
Context_switch(VALUE self)
{
  debug_context_t *context;
  Data_Get_Struct(self, debug_context_t, context);
  next_thread = context->thread;
  context->steps = 1;
  context->steps_out = 0;
  CTX_FL_SET(context, CTX_FL_STOP_ON_RET);
  return Qnil;
}
static VALUE Context_switch ( VALUE self ) { debug_context_t * context ; Data_Get_Struct ( self , debug_context_t , context ) ; next_thread = context -> thread ; context -> steps = 1 ; context -> steps_out = 0 ; CTX_FL_SET ( context , CTX_FL_STOP_ON_RET ) ; return Qnil ; }
call-seq:
    context.switch -> nil
call - seq : context . switch - > nil