mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_trace.c (symbol2event_flag): add secret feature.
add a_call/a_return events. a_call is call | b_call | c_call, and same as a_return. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df196f25ec
commit
ac778eb2cf
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Mon Nov 11 03:15:56 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_trace.c (symbol2event_flag): add secret feature.
|
||||
add a_call/a_return events.
|
||||
a_call is call | b_call | c_call, and same as a_return.
|
||||
|
||||
Mon Nov 11 02:51:17 2013 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems: Update to RubyGems master 4bdc4f2. Important changes
|
||||
|
|
|
@ -662,6 +662,8 @@ symbol2event_flag(VALUE v)
|
|||
C(thread_end, THREAD_END);
|
||||
C(specified_line, SPECIFIED_LINE);
|
||||
#undef C
|
||||
CONST_ID(id, "a_call"); if (sym == ID2SYM(id)) return RUBY_EVENT_CALL | RUBY_EVENT_B_CALL | RUBY_EVENT_C_CALL;
|
||||
CONST_ID(id, "a_return"); if (sym == ID2SYM(id)) return RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN | RUBY_EVENT_C_RETURN;
|
||||
rb_raise(rb_eArgError, "unknown event: %s", rb_id2name(SYM2ID(sym)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue