Sha256: f59b5d33e032a2c7061d9fea30b489698a8b2b2688cd184d491a9274128edfb1

Contents?: true

Size: 1.15 KB

Versions: 2193

Compression:

Stored size: 1.15 KB

Contents

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

  vm_debug.h - YARV Debug function interface

  $Author: nobu $
  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"

RUBY_SYMBOL_EXPORT_BEGIN

#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);
void ruby_set_debug_option(const char *str);

RUBY_SYMBOL_EXPORT_END

#endif /* RUBY_DEBUG_H */

Version data entries

2,193 entries across 83 versions & 8 rubygems

Version Path
datadog-ruby_core_source-3.3.6 lib/datadog/ruby_core_source/ruby-2.5.4-p155/vm_debug.h
datadog-ruby_core_source-3.3.6 lib/datadog/ruby_core_source/ruby-2.5.1-p57/vm_debug.h
datadog-ruby_core_source-3.3.6 lib/datadog/ruby_core_source/ruby-2.5.0-p0/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.2.7-p470/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.2.3-p173/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.2.6-p396/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.9-p490/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.4-p265/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.7-p400/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.8-p440/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.2.1-p85/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.2.2-p95/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.2.4-p230/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.2.5-p319/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.1-p76/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.0-p0/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.2-p95/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.3-p242/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.6-p336/vm_debug.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-2.1.10-p492/vm_debug.h