support rescue event for TracePoint

fix [Feature #19572]
This commit is contained in:
Koichi Sasada 2023-08-01 17:25:20 +09:00
parent f11ac06337
commit d68c01fd31
Notes: git 2023-08-01 13:46:38 +00:00
8 changed files with 86 additions and 9 deletions

7
iseq.h
View file

@ -83,9 +83,10 @@ ISEQ_ORIGINAL_ISEQ_ALLOC(const rb_iseq_t *iseq, long size)
RUBY_EVENT_CALL | \
RUBY_EVENT_RETURN| \
RUBY_EVENT_C_CALL| \
RUBY_EVENT_C_RETURN| \
RUBY_EVENT_B_CALL| \
RUBY_EVENT_B_RETURN| \
RUBY_EVENT_C_RETURN | \
RUBY_EVENT_B_CALL | \
RUBY_EVENT_B_RETURN | \
RUBY_EVENT_RESCUE | \
RUBY_EVENT_COVERAGE_LINE| \
RUBY_EVENT_COVERAGE_BRANCH)