2020-04-10 08:11:40 +03:00
|
|
|
#ifndef RUBY_DEBUG_H
|
|
|
|
#define RUBY_DEBUG_H
|
2006-12-31 18:02:22 +03:00
|
|
|
/**********************************************************************
|
|
|
|
|
2012-11-20 16:57:49 +04:00
|
|
|
vm_debug.h - YARV Debug function interface
|
2006-12-31 18:02:22 +03:00
|
|
|
|
|
|
|
$Author$
|
|
|
|
created at: 04/08/25 02:33:49 JST
|
|
|
|
|
* blockinlining.c, compile.c, compile.h, debug.c, debug.h,
id.c, insnhelper.h, insns.def, thread.c, thread_pthread.ci,
thread_pthread.h, thread_win32.ci, thread_win32.h, vm.h,
vm_dump.c, vm_evalbody.ci, vm_opts.h: fix comments and
copyright year.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-14 01:13:04 +03:00
|
|
|
Copyright (C) 2004-2007 Koichi Sasada
|
2006-12-31 18:02:22 +03:00
|
|
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
2007-06-10 07:06:15 +04:00
|
|
|
#include "ruby/ruby.h"
|
* include/ruby/node.h, node.h: move node.h from include path.
This change stop to install node.h beacuase of saving ABI
(node.h will be changed. Extensions should not depends on
this file).
* blockinlining.c, class.c, compile.c, debug.h, enum.c,
gc.c, iseq.c, parse.y, ruby.c, signal.c, variable.c,
vm.c, vm_core.h, vm_dump.c: ditto.
* ext/ripper/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 23:52:31 +04:00
|
|
|
#include "node.h"
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2013-04-05 14:29:38 +04:00
|
|
|
RUBY_SYMBOL_EXPORT_BEGIN
|
2010-07-22 01:38:25 +04:00
|
|
|
|
2011-01-17 16:54:54 +03:00
|
|
|
#define dpv(h,v) ruby_debug_print_value(-1, 0, (h), (v))
|
|
|
|
#define dp(v) ruby_debug_print_value(-1, 0, "", (v))
|
|
|
|
#define dpi(i) ruby_debug_print_id(-1, 0, "", (i))
|
|
|
|
#define dpn(n) ruby_debug_print_node(-1, 0, "", (n))
|
2007-06-24 21:19:22 +04:00
|
|
|
|
2007-06-29 12:10:16 +04:00
|
|
|
VALUE ruby_debug_print_value(int level, int debug_level, const char *header, 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);
|
2008-04-14 09:34:04 +04:00
|
|
|
int ruby_debug_print_indent(int level, int debug_level, int indent_level);
|
2007-03-19 06:58:57 +03:00
|
|
|
void ruby_debug_gc_check_func(void);
|
2008-09-23 12:03:41 +04:00
|
|
|
void ruby_set_debug_option(const char *str);
|
|
|
|
|
2013-04-05 14:29:38 +04:00
|
|
|
RUBY_SYMBOL_EXPORT_END
|
2010-07-22 01:38:25 +04:00
|
|
|
|
2007-06-29 12:10:16 +04:00
|
|
|
#endif /* RUBY_DEBUG_H */
|