Пример #1
0
void init_tracepoints ()
{
    clear_tracepoints();
    skyeye_ice.tps_status=TRACE_STOPPED;

    clear_frame_buffers();

    skyeye_ice.selected_fb=NULL;

    clear_ro_regions();

    return;
}
Пример #2
0
/*
 *  call-seq:
 *    Byebug.stop -> bool
 *
 *  This method disables byebug. It returns +true+ if byebug was already
 *  disabled, otherwise it returns +false+.
 */
static VALUE
Stop(VALUE self)
{
  UNUSED(self);

  if (IS_STARTED)
  {
    clear_tracepoints(self);

    breakpoints = Qnil;
    catchpoints = Qnil;

    return Qfalse;
  }

  return Qtrue;
}