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
- .set_trace_flag_to_iseq ⇒ Object
-
.unset_iseq_flags ⇒ Object
use only for tests.
-
.verbose=(bool) ⇒ Object
Enable verbose output of every TracePoint API events, useful for debugging debase.
-
.verbose? ⇒ Boolean
Returns
true
if verbose output of TracePoint API events is enabled.
Class Method Details
.catchpoints ⇒ Object
631 632 633 634 635 636 637 |
# File 'ext/debase_internals.c', line 631 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.
676 677 678 679 680 681 |
# File 'ext/debase_internals.c', line 676 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
727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'ext/debase_internals.c', line 727 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; } |
.set_trace_flag_to_iseq ⇒ Object
.unset_iseq_flags ⇒ Object
use only for tests
.verbose=(bool) ⇒ Object
Enable verbose output of every TracePoint API events, useful for debugging debase.
663 664 665 666 667 668 |
# File 'ext/debase_internals.c', line 663 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.
651 652 653 654 655 |
# File 'ext/debase_internals.c', line 651 static VALUE Debase_verbose(VALUE self) { return verbose; } |