From cff2b2b66626e5aee5598f98b1f855249ca2f282 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 8 Oct 2013 12:08:20 +0000 Subject: * vm_backtrace.c, include/ruby/debug.h: add new APIs * VALUE rb_profile_frame_method_name(VALUE frame) * VALUE rb_profile_frame_qualified_method_name(VALUE frame) * iseq.c (rb_iseq_klass), internal.h: add new internal function rb_iseq_method_name(). * ext/-test-/debug/profile_frames.c (profile_frames), test/-ext-/debug/test_profile_frames.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/debug.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/ruby/debug.h b/include/ruby/debug.h index 2ef99d4185..add719545f 100644 --- a/include/ruby/debug.h +++ b/include/ruby/debug.h @@ -34,6 +34,8 @@ VALUE rb_profile_frame_base_label(VALUE frame); VALUE rb_profile_frame_first_lineno(VALUE frame); VALUE rb_profile_frame_classpath(VALUE frame); VALUE rb_profile_frame_singleton_method_p(VALUE frame); +VALUE rb_profile_frame_method_name(VALUE frame); +VALUE rb_profile_frame_qualified_method_name(VALUE frame); /* debug inspector APIs */ typedef struct rb_debug_inspector_struct rb_debug_inspector_t; -- cgit v1.2.3