Module: Debase

Defined in:
ext/debase_internals.c

Class Method Summary collapse

Class Method Details

.catchpointsObject



475
476
477
478
479
480
481
# File 'ext/debase_internals.c', line 475

static VALUE
Debase_catchpoints(VALUE self)
{
  if (catchpoints == Qnil)
    rb_raise(rb_eRuntimeError, "Debugger.start is not called yet.");
  return catchpoints; 
}

.verbose=(bool) ⇒ Object

Enable verbose output of every TracePoint API events, useful for debugging debase.



507
508
509
510
511
512
# File 'ext/debase_internals.c', line 507

static VALUE
Debase_set_verbose(VALUE self, VALUE value)
{
  verbose = RTEST(value) ? Qtrue : Qfalse;
  return value;
}

.verbose?Boolean

Returns true if verbose output of TracePoint API events is enabled.

Returns:

  • (Boolean)


495
496
497
498
499
# File 'ext/debase_internals.c', line 495

static VALUE
Debase_verbose(VALUE self)
{
  return verbose;
}