Sha256: 28ac2d82beaf91c609a7bf393ce04b2d57171746d73243d138e53b1719a3c9df

Contents?: true

Size: 1.11 KB

Versions: 179

Compression:

Stored size: 1.11 KB

Contents

/**********************************************************************

  debug.h - YARV Debug function interface

  $Author: akr $
  created at: 04/08/25 02:33:49 JST

  Copyright (C) 2004-2007 Koichi Sasada

**********************************************************************/

#ifndef RUBY_DEBUG_H
#define RUBY_DEBUG_H

#include "ruby/ruby.h"
#include "node.h"

#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)

#define bp()     ruby_debug_breakpoint()

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);
int   ruby_debug_print_indent(int level, int debug_level, int indent_level);
void  ruby_debug_breakpoint(void);
void  ruby_debug_gc_check_func(void);

#ifdef RUBY_DEBUG_ENV
void ruby_set_debug_option(const char *str);
#endif

#endif /* RUBY_DEBUG_H */

Version data entries

179 entries across 116 versions & 12 rubygems

Version Path
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/debugger-ruby_core_source-1.3.8/lib/debugger/ruby_core_source/ruby-1.9.2-p330/debug.h
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/debugger-ruby_core_source-1.3.8/lib/debugger/ruby_core_source/ruby-1.9.2-p290/debug.h
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/debugger-ruby_core_source-1.3.8/lib/debugger/ruby_core_source/ruby-1.9.2-p318/debug.h
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/debugger-ruby_core_source-1.3.8/lib/debugger/ruby_core_source/ruby-1.9.2-p320/debug.h
rhodes-5.5.18 platform/shared/ruby/debug.h
rhodes-5.5.17 platform/shared/ruby/debug.h
rhodes-5.5.15 platform/shared/ruby/debug.h
rhodes-5.5.0.22 platform/shared/ruby/debug.h
rhodes-5.5.2 platform/shared/ruby/debug.h
rhodes-5.5.0.7 platform/shared/ruby/debug.h
rhodes-5.5.0.3 platform/shared/ruby/debug.h
rhodes-5.5.0 platform/shared/ruby/debug.h
looksee-3.1.1 ext/mri/1.9.2/debug.h
tauplatform-1.0.3 platform/shared/ruby/debug.h
tauplatform-1.0.2 platform/shared/ruby/debug.h
tauplatform-1.0.1 platform/shared/ruby/debug.h
looksee-3.1.0-universal-java-1.8 ext/mri/1.9.2/debug.h
looksee-3.1.0 ext/mri/1.9.2/debug.h
looksee-3.0.1-universal-java-1.8 ext/mri/1.9.2/debug.h
looksee-3.0.1 ext/mri/1.9.2/debug.h