Module: Debase
- Defined in:
- ext/debase_internals.c
Class Method Summary collapse
- .catchpoints ⇒ Object
-
.enable_file_filtering(bool) ⇒ Object
Enables/disables file filtering.
- .enable_trace_points ⇒ Object
- .init_variables ⇒ Object
-
.verbose=(bool) ⇒ Object
Enable verbose output of every TracePoint API events, useful for debugging debase.
-
.verbose? ⇒ Boolean
Returns
trueif verbose output of TracePoint API events is enabled.
Class Method Details
.catchpoints ⇒ Object
599 600 601 602 603 604 605 |
# File 'ext/debase_internals.c', line 599 static VALUE Debase_catchpoints(VALUE self) { if (catchpoints == Qnil) rb_raise(rb_eRuntimeError, "Debugger.start is not called yet."); return catchpoints; } |
.enable_file_filtering(bool) ⇒ Object
Enables/disables file filtering.
644 645 646 647 648 649 |
# File 'ext/debase_internals.c', line 644 static VALUE Debase_enable_file_filtering(VALUE self, VALUE value) { file_filter_enabled = RTEST(value) ? Qtrue : Qfalse; return value; } |
.enable_trace_points ⇒ Object
142 143 144 145 146 |
# File 'ext/debase_internals.c', line 142 static VALUE Debase_enable_trace_points(VALUE self) { return enable_trace_points(); } |
.init_variables ⇒ Object
651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 |
# File 'ext/debase_internals.c', line 651 static VALUE Debase_init_variables() { started = 0; verbose = Qfalse; locker = Qnil; file_filter_enabled = Qfalse; contexts = Qnil; catchpoints = Qnil; breakpoints = Qnil; context_init_variables(); breakpoint_init_variables(); return Qtrue; } |
.verbose=(bool) ⇒ Object
Enable verbose output of every TracePoint API events, useful for debugging debase.
631 632 633 634 635 636 |
# File 'ext/debase_internals.c', line 631 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.
619 620 621 622 623 |
# File 'ext/debase_internals.c', line 619 static VALUE Debase_verbose(VALUE self) { return verbose; } |