APIdock / Ruby
/
Browse About
method

DEBUG

v2_5_5 - Show latest stable - Class: Thread
DEBUG()
public

Returns the thread debug level. Available only if compiled with THREAD_DEBUG=-1.

static VALUE
rb_thread_s_debug(void)
{
    return INT2NUM(rb_thread_debug_enabled);
}

Related methods

  • Instance methods
  • []
  • []=
  • abort_on_exception
  • abort_on_exception=
  • add_trace_func
  • alive?
  • backtrace
  • backtrace_locations
  • exit
  • fetch
  • group
  • inspect
  • join
  • key?
  • keys
  • kill
  • name
  • name=
  • pending_interrupt?
  • priority
  • priority=
  • raise
  • report_on_exception
  • report_on_exception=
  • run
  • safe_level
  • set_trace_func
  • status
  • stop?
  • terminate
  • thread_variable?
  • thread_variable_get
  • thread_variable_set
  • thread_variables
  • to_s
  • value
  • wakeup
  • Class methods
  • DEBUG
  • DEBUG=
  • abort_on_exception
  • abort_on_exception=
  • current
  • exclusive
  • exit
  • fork
  • handle_interrupt
  • kill
  • list
  • main
  • new
  • pass
  • pending_interrupt?
  • report_on_exception
  • report_on_exception=
  • start
  • stop
APIdock API Documentation Browser

© 2026 APIdock