Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "ruby/io.h"
#include "ruby/util.h"
#include "vm_debug.h"
#include "eval_intern.h"
#include "vm_core.h"
#include "symbol.h"
#include "id.h"
#include "gc.h"
Go to the source code of this file.
Macros | |
#define | SET_WHEN(name, var, val) |
#define | NAME_MATCH_VALUE(name) |
#define | SET_UINT(val) |
#define | SET_UINT_LIST(name, vals, num) |
#define | SET_WHEN_UINT(name, vals, num, req) if (NAME_MATCH_VALUE(name)) SET_UINT_LIST(name, vals, num); |
Functions | |
int | ruby_debug_print_indent (int level, int debug_level, int indent_level) |
void | ruby_debug_printf (const char *format,...) |
VALUE | ruby_debug_print_value (int level, int debug_level, const char *header, VALUE obj) |
void | ruby_debug_print_v (VALUE v) |
ID | ruby_debug_print_id (int level, int debug_level, const char *header, ID id) |
NODE * | ruby_debug_print_node (int level, int debug_level, const char *header, const NODE *node) |
void | ruby_debug_breakpoint (void) |
int | ruby_env_debug_option (const char *str, int len, void *arg) |
void | ruby_set_debug_option (const char *str) |
#define NAME_MATCH_VALUE | ( | name | ) |
#define SET_UINT | ( | val | ) |
#define SET_UINT_LIST | ( | name, | |
vals, | |||
num | |||
) |
#define SET_WHEN | ( | name, | |
var, | |||
val | |||
) |
#define SET_WHEN_UINT | ( | name, | |
vals, | |||
num, | |||
req | |||
) | if (NAME_MATCH_VALUE(name)) SET_UINT_LIST(name, vals, num); |
Definition at line 109 of file debug.c.
References ruby_debug_print_value(), and v.
Definition at line 96 of file debug.c.
References fflush(), fprintf(), obj, rb_raw_obj_info(), and stderr.
Referenced by ruby_debug_print_v().
Definition at line 153 of file debug.c.
References fprintf(), len, n, NAME_MATCH_VALUE, numberof, Qtrue, ruby_enable_coredump, ruby_initial_gc_stress_ptr, ruby_on_ci, ruby_rgengc_debug, SET_UINT_LIST, SET_WHEN, and stderr.
enum ruby_econv_flag_type econv_flag_types |
enum ruby_coderange_type enc_coderange_types |
enum ruby_encoding_consts encoding_consts |
enum ruby_fl_type fl_types |
enum ruby_id_types id_types |
union { ... } imemo |
Referenced by rb_alloc_tmp_buffer_with_count().
enum { ... } mask |
Referenced by ffi_prep_closure_loc().
enum ruby_method_ids method_ids |
struct RIMemo* ptr |
Definition at line 65 of file debug.c.
Referenced by ffi_closure_call_SYSV(), ffi_closure_eabi(), ffi_closure_helper_SYSV(), ffi_closure_SYSV(), ffi_java_ptrarray_to_raw(), ffi_prep_args(), ffi_prep_args_SYSV(), ffi_prep_cif_core(), ffi_prep_cif_machdep(), ffi_ptrarray_to_raw(), ffi_raw_to_ptrarray(), ffi_v9_layout_struct(), Init_Method(), ossl_asn1_get_asn1type(), ossl_generate_cb_stop(), ossl_pkey_check_public_key(), rb_adjust_argv_kw_splat(), rb_alloc_tmp_buffer_with_count(), rb_ary_delete_at(), rb_check_id_cstr(), rb_check_symbol_cstr(), rb_ec_get_errinfo(), rb_enc_str_buf_cat(), rb_enc_str_new(), rb_exc_new(), rb_external_str_new(), rb_external_str_new_cstr(), rb_external_str_new_with_enc(), rb_fiddle_free(), rb_filesystem_str_new(), rb_filesystem_str_new_cstr(), rb_free_tmp_buffer(), rb_fstring_cstr(), rb_gc_guarded_ptr_val(), rb_io_fptr_finalize_internal(), rb_ivar_lookup(), rb_locale_str_new(), rb_locale_str_new_cstr(), rb_objspace_data_type_memsize(), rb_parser_calloc(), rb_parser_free(), rb_parser_malloc(), rb_parser_realloc(), rb_str_buf_cat_ascii(), rb_str_buf_new_cstr(), rb_str_cat_conv_enc_opts(), rb_str_conv_enc_opts(), rb_str_drop_bytes(), rb_str_end_with_asciichar(), rb_str_initialize(), rb_str_quote_unprintable(), rb_str_symname_p(), rb_string_value(), rb_string_value_cstr(), rb_string_value_ptr(), rb_sym_intern(), rb_sym_intern_ascii(), rb_sym_intern_ascii_cstr(), rb_tainted_str_new(), rb_tainted_str_new_cstr(), rb_usascii_str_new(), rb_usascii_str_new_cstr(), rb_utf8_str_new_cstr(), rb_vm_mark(), rb_vm_update_references(), rb_w32_conv_from_wstr(), rb_w32_mbstr_to_wstr(), rb_w32_write_console(), rb_w32_wstr_to_mbstr(), rb_wait_for_single_fd(), ruby_atomic_exchange(), ruby_mimfree(), ruby_xrealloc(), ruby_xrealloc2(), ruby_xrealloc2_body(), ruby_xrealloc_body(), st_hash(), and VpMemRealloc().
enum ruby_rarray_flags rarray_flags |
enum ruby_rmodule_flags rmodule_flags |
enum ruby_robject_flags robject_flags |
enum ruby_rstring_flags rstring_flags |
const { ... } ruby_dummy_gdb_enums |
const SIGNED_VALUE RUBY_NODE_LMASK = NODE_LMASK |
|
extern |
Definition at line 44 of file vm_dump.c.
Referenced by ruby_env_debug_option().
|
extern |
Definition at line 388 of file gc.c.
Referenced by ruby_env_debug_option().
enum ruby_special_consts special_consts |
enum ruby_tag_type tag_type |
enum imemo_type types |
Definition at line 67 of file debug.c.
Referenced by rb_insn_operand_intern(), rb_iseq_disasm_insn(), and rb_iseq_mark_insn_storage().
enum { ... } various |
enum vm_call_flag_bits vm_call_flags |