Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/alt/ruby27/include/ruby
File: debug.h
/**********************************************************************
[0] Fix | Delete
[1] Fix | Delete
ruby/debug.h -
[2] Fix | Delete
[3] Fix | Delete
$Author: ko1 $
[4] Fix | Delete
created at: Tue Nov 20 20:35:08 2012
[5] Fix | Delete
[6] Fix | Delete
Copyright (C) 2012 Yukihiro Matsumoto
[7] Fix | Delete
[8] Fix | Delete
**********************************************************************/
[9] Fix | Delete
[10] Fix | Delete
#ifndef RB_DEBUG_H
[11] Fix | Delete
#define RB_DEBUG_H 1
[12] Fix | Delete
[13] Fix | Delete
#if defined(__cplusplus)
[14] Fix | Delete
extern "C" {
[15] Fix | Delete
#if 0
[16] Fix | Delete
} /* satisfy cc-mode */
[17] Fix | Delete
#endif
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
RUBY_SYMBOL_EXPORT_BEGIN
[21] Fix | Delete
[22] Fix | Delete
/* Note: This file contains experimental APIs. */
[23] Fix | Delete
/* APIs can be replaced at Ruby 2.0.1 or later */
[24] Fix | Delete
[25] Fix | Delete
[26] Fix | Delete
/* profile frames APIs */
[27] Fix | Delete
int rb_profile_frames(int start, int limit, VALUE *buff, int *lines);
[28] Fix | Delete
VALUE rb_profile_frame_path(VALUE frame);
[29] Fix | Delete
VALUE rb_profile_frame_absolute_path(VALUE frame);
[30] Fix | Delete
VALUE rb_profile_frame_label(VALUE frame);
[31] Fix | Delete
VALUE rb_profile_frame_base_label(VALUE frame);
[32] Fix | Delete
VALUE rb_profile_frame_full_label(VALUE frame);
[33] Fix | Delete
VALUE rb_profile_frame_first_lineno(VALUE frame);
[34] Fix | Delete
VALUE rb_profile_frame_classpath(VALUE frame);
[35] Fix | Delete
VALUE rb_profile_frame_singleton_method_p(VALUE frame);
[36] Fix | Delete
VALUE rb_profile_frame_method_name(VALUE frame);
[37] Fix | Delete
VALUE rb_profile_frame_qualified_method_name(VALUE frame);
[38] Fix | Delete
[39] Fix | Delete
/* debug inspector APIs */
[40] Fix | Delete
typedef struct rb_debug_inspector_struct rb_debug_inspector_t;
[41] Fix | Delete
typedef VALUE (*rb_debug_inspector_func_t)(const rb_debug_inspector_t *, void *);
[42] Fix | Delete
[43] Fix | Delete
VALUE rb_debug_inspector_open(rb_debug_inspector_func_t func, void *data);
[44] Fix | Delete
VALUE rb_debug_inspector_frame_self_get(const rb_debug_inspector_t *dc, long index);
[45] Fix | Delete
VALUE rb_debug_inspector_frame_class_get(const rb_debug_inspector_t *dc, long index);
[46] Fix | Delete
VALUE rb_debug_inspector_frame_binding_get(const rb_debug_inspector_t *dc, long index);
[47] Fix | Delete
VALUE rb_debug_inspector_frame_iseq_get(const rb_debug_inspector_t *dc, long index);
[48] Fix | Delete
VALUE rb_debug_inspector_backtrace_locations(const rb_debug_inspector_t *dc);
[49] Fix | Delete
[50] Fix | Delete
/* Old style set_trace_func APIs */
[51] Fix | Delete
[52] Fix | Delete
/* duplicated def of include/ruby/ruby.h */
[53] Fix | Delete
void rb_add_event_hook(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data);
[54] Fix | Delete
int rb_remove_event_hook(rb_event_hook_func_t func);
[55] Fix | Delete
[56] Fix | Delete
int rb_remove_event_hook_with_data(rb_event_hook_func_t func, VALUE data);
[57] Fix | Delete
void rb_thread_add_event_hook(VALUE thval, rb_event_hook_func_t func, rb_event_flag_t events, VALUE data);
[58] Fix | Delete
int rb_thread_remove_event_hook(VALUE thval, rb_event_hook_func_t func);
[59] Fix | Delete
int rb_thread_remove_event_hook_with_data(VALUE thval, rb_event_hook_func_t func, VALUE data);
[60] Fix | Delete
[61] Fix | Delete
/* TracePoint APIs */
[62] Fix | Delete
[63] Fix | Delete
VALUE rb_tracepoint_new(VALUE target_thread_not_supported_yet, rb_event_flag_t events, void (*func)(VALUE, void *), void *data);
[64] Fix | Delete
VALUE rb_tracepoint_enable(VALUE tpval);
[65] Fix | Delete
VALUE rb_tracepoint_disable(VALUE tpval);
[66] Fix | Delete
VALUE rb_tracepoint_enabled_p(VALUE tpval);
[67] Fix | Delete
[68] Fix | Delete
typedef struct rb_trace_arg_struct rb_trace_arg_t;
[69] Fix | Delete
rb_trace_arg_t *rb_tracearg_from_tracepoint(VALUE tpval);
[70] Fix | Delete
[71] Fix | Delete
rb_event_flag_t rb_tracearg_event_flag(rb_trace_arg_t *trace_arg);
[72] Fix | Delete
VALUE rb_tracearg_event(rb_trace_arg_t *trace_arg);
[73] Fix | Delete
VALUE rb_tracearg_lineno(rb_trace_arg_t *trace_arg);
[74] Fix | Delete
VALUE rb_tracearg_path(rb_trace_arg_t *trace_arg);
[75] Fix | Delete
VALUE rb_tracearg_method_id(rb_trace_arg_t *trace_arg);
[76] Fix | Delete
VALUE rb_tracearg_callee_id(rb_trace_arg_t *trace_arg);
[77] Fix | Delete
VALUE rb_tracearg_defined_class(rb_trace_arg_t *trace_arg);
[78] Fix | Delete
VALUE rb_tracearg_binding(rb_trace_arg_t *trace_arg);
[79] Fix | Delete
VALUE rb_tracearg_self(rb_trace_arg_t *trace_arg);
[80] Fix | Delete
VALUE rb_tracearg_return_value(rb_trace_arg_t *trace_arg);
[81] Fix | Delete
VALUE rb_tracearg_raised_exception(rb_trace_arg_t *trace_arg);
[82] Fix | Delete
VALUE rb_tracearg_object(rb_trace_arg_t *trace_arg);
[83] Fix | Delete
[84] Fix | Delete
/*
[85] Fix | Delete
* Postponed Job API
[86] Fix | Delete
* rb_postponed_job_register and rb_postponed_job_register_one are
[87] Fix | Delete
* async-signal-safe and used via SIGPROF by the "stackprof" RubyGem
[88] Fix | Delete
*/
[89] Fix | Delete
typedef void (*rb_postponed_job_func_t)(void *arg);
[90] Fix | Delete
int rb_postponed_job_register(unsigned int flags, rb_postponed_job_func_t func, void *data);
[91] Fix | Delete
int rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func, void *data);
[92] Fix | Delete
[93] Fix | Delete
/* undocumented advanced tracing APIs */
[94] Fix | Delete
[95] Fix | Delete
typedef enum {
[96] Fix | Delete
RUBY_EVENT_HOOK_FLAG_SAFE = 0x01,
[97] Fix | Delete
RUBY_EVENT_HOOK_FLAG_DELETED = 0x02,
[98] Fix | Delete
RUBY_EVENT_HOOK_FLAG_RAW_ARG = 0x04
[99] Fix | Delete
} rb_event_hook_flag_t;
[100] Fix | Delete
[101] Fix | Delete
void rb_add_event_hook2(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data, rb_event_hook_flag_t hook_flag);
[102] Fix | Delete
void rb_thread_add_event_hook2(VALUE thval, rb_event_hook_func_t func, rb_event_flag_t events, VALUE data, rb_event_hook_flag_t hook_flag);
[103] Fix | Delete
[104] Fix | Delete
RUBY_SYMBOL_EXPORT_END
[105] Fix | Delete
[106] Fix | Delete
#if defined(__cplusplus)
[107] Fix | Delete
#if 0
[108] Fix | Delete
{ /* satisfy cc-mode */
[109] Fix | Delete
#endif
[110] Fix | Delete
} /* extern "C" { */
[111] Fix | Delete
#endif
[112] Fix | Delete
[113] Fix | Delete
#endif /* RUBY_DEBUG_H */
[114] Fix | Delete
[115] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function