|
Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ruby/ruby.h"#include "ruby/encoding.h"#include "ruby/util.h"#include "vm_debug.h"#include "eval_intern.h"#include "vm_core.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) |
Variables | |
| union { | |
| enum | { RUBY_FMODE_READABLE = FMODE_READABLE, RUBY_FMODE_WRITABLE = FMODE_WRITABLE, RUBY_FMODE_READWRITE = FMODE_READWRITE, RUBY_FMODE_BINMODE = FMODE_BINMODE, RUBY_FMODE_SYNC = FMODE_SYNC, RUBY_FMODE_TTY = FMODE_TTY, RUBY_FMODE_DUPLEX = FMODE_DUPLEX, RUBY_FMODE_APPEND = FMODE_APPEND, RUBY_FMODE_CREATE = FMODE_CREATE, RUBY_FMODE_NOREVLOOKUP = 0x00000100, RUBY_FMODE_TRUNC = FMODE_TRUNC, RUBY_FMODE_TEXTMODE = FMODE_TEXTMODE, RUBY_FMODE_PREP = 0x00010000, RUBY_FMODE_SETENC_BY_BOM = FMODE_SETENC_BY_BOM, RUBY_FMODE_UNIX = 0x00200000, RUBY_FMODE_INET = 0x00400000, RUBY_FMODE_INET6 = 0x00800000, RUBY_NODE_TYPESHIFT = NODE_TYPESHIFT, RUBY_NODE_TYPEMASK = NODE_TYPEMASK, RUBY_NODE_LSHIFT = NODE_LSHIFT, RUBY_NODE_FL_NEWLINE = NODE_FL_NEWLINE } |
| enum ruby_special_consts special_consts | |
| enum ruby_value_type value_type | |
| enum ruby_tag_type tag_type | |
| enum node_type node_type | |
| enum ruby_method_ids method_ids | |
| enum ruby_id_types id_types | |
| enum ruby_fl_type fl_types | |
| enum ruby_encoding_consts encoding_consts | |
| enum ruby_coderange_type enc_coderange_types | |
| enum ruby_econv_flag_type econv_flag_types | |
| enum ruby_robject_flags robject_flags | |
| enum ruby_rmodule_flags rmodule_flags | |
| enum ruby_rstring_flags rstring_flags | |
| enum ruby_rarray_flags rarray_flags | |
| enum { ... } various | |
| } | ruby_dummy_gdb_enums |
| const SIGNED_VALUE | RUBY_NODE_LMASK = NODE_LMASK |
| int | ruby_rgengc_debug |
| #define NAME_MATCH_VALUE | ( | name | ) |
Referenced by ruby_env_debug_option().
| #define SET_UINT | ( | val | ) |
| #define SET_UINT_LIST | ( | name, | |
| vals, | |||
| num | |||
| ) |
Referenced by ruby_env_debug_option().
| #define SET_WHEN_UINT | ( | name, | |
| vals, | |||
| num, | |||
| req | |||
| ) | if (NAME_MATCH_VALUE(name)) SET_UINT_LIST(name, vals, num); |
| void ruby_debug_breakpoint | ( | void | ) |
Definition at line 126 of file debug.c.
References ruby_rgengc_debug.
Definition at line 106 of file debug.c.
References id, and rb_id2name().
| int ruby_debug_print_indent | ( | int | level, |
| int | debug_level, | ||
| int | indent_level | ||
| ) |
Definition at line 116 of file debug.c.
References nd_line, nd_type, and ruby_node_name().
| void ruby_debug_print_v | ( | VALUE | v | ) |
Definition at line 100 of file debug.c.
References ruby_debug_print_value().
Definition at line 87 of file debug.c.
References rb_raw_obj_info().
Referenced by ruby_debug_print_v().
| int ruby_env_debug_option | ( | const char * | str, |
| int | len, | ||
| void * | arg | ||
| ) |
Definition at line 143 of file debug.c.
References NAME_MATCH_VALUE, numberof, Qtrue, ruby_enable_coredump, ruby_initial_gc_stress_ptr, ruby_rgengc_debug, SET_UINT_LIST, and SET_WHEN.
| void ruby_set_debug_option | ( | const char * | str | ) |
| 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 |
| enum ruby_method_ids method_ids |
| 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 |
| int ruby_rgengc_debug |
Definition at line 235 of file gc.c.
Referenced by ruby_debug_breakpoint(), and ruby_env_debug_option().
| enum ruby_special_consts special_consts |
| enum ruby_tag_type tag_type |
| enum ruby_value_type value_type |
| enum { ... } various |
1.8.13